Reading Rails - Attribute Methods
In this installment, we’re going to dig into the Rails source and figure out how Rails uses metaprogramming to implement methods like name_changed?
for your attributes.
Along the way, we’ll pick up some new tricks, and learn a few more esoteric bits of Ruby.
Post a comment