alias_method_chain

Posted by Charlie Fri, 21 Sep 2007 16:29:00 GMT

Wilhelm Chung had a nice followup to my post last week about Rails Unusual Architecture. He provides more details about how alias_method_chain works and even includes a few pictures (it would be nice to see a few lines connecting the methods though).

2 comments | no trackbacks

Comments

  1. Avatar Wilhelm said 5 days later:

    Hi, thanks for the compliment. What lines are you referring to?

  2. Avatar Charlie said 8 days later:

    Hi Wilhelm,

    I think the diagrams can be better if you draw lines on them that show validation aliases savewithvalidation which then calls savewithoutvalidation. The boxes don’t make that very clear, at least in my view.

    Does that make more sense now?

Trackbacks

Use the following link to trackback from your own site:
http://cfis.savagexi.com/trackbacks?article_id=alias_method_chain&day=21&month=09&year=2007

(leave url/email »)

   Comment Markup Help Preview comment