List of callback methods
If you ever wondered about the power of
method\_missing you were
still missing a lot. Ruby has a whole bunch of meta callback methods. Since I
always forget some of them, I will try to collect all of them in the following
list, so everybody may benefit. If I missed something, please give me a
Most of this list is taken from this discussion on ruby-talk.
And of course there are all these nice collections, you may request.
Please note, that most of the
\*methods have a parameter, which
allows you to exclude inherited properties from the answer (as listed in the
Every ambitous Ruby programmer should have a look at these and come back each one or two months. These methods will allow you some shortcuts and more elegant solutions. As well, make sure, that these still work, after you introduced changes on the meta-level.
I mainly work with Rails, Backbone, and Bootstrap, but I am also good at picking up new frameworks, since I will probably know most of their concepts from other projects.