[Rails] Active Record Callbacks
David Heinemeier Hansson
david at loudthinking.com
Mon Dec 6 12:33:52 GMT 2004
> Is there a callback directly after an object is fetched?
You have two. There's after_initialize, which is always called whether
a new object is created with #new or #find*, and then there's
after_find, which is only called for the latter.
--
David Heinemeier Hansson,
http://www.basecamphq.com/ -- Web-based Project Management
http://www.rubyonrails.org/ -- Web-application framework for Ruby
http://macromates.com/ -- TextMate: Code and markup editor (OS X)
http://www.loudthinking.com/ -- Broadcasting Brain
More information about the Rails
mailing list