alias_method_chain

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).

  1. Wilhelm
    September 27, 2007

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

    Reply
  2. Charlie Savage –
    September 30, 2007

    Hi Wilhelm,

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

    Does that make more sense now?

    Reply

Leave a Reply

Your email address will not be published.

Top