Pål Bergström wrote: > I pass a value from controller to model with attr_accessor. before_save > works fine but not after_find. What could be wrong?
Note this sentence from the documentation: "Unlike all the other callbacks, after_find and after_initialize will only be run if an explicit implementation is defined (def after_find)." Try that. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.