search for: change_assign

Displaying 1 result from an estimated 1 matches for "change_assign".

2006 Jun 01
0
question about observer callbacks
...# but how to send a specific message about the status change??? # i could add a log message directly, but i would have to do that everywhere # I update the model, which makes using an observer kind of pointless... # @foo.log("status updated to #{params[:status]}" end def change_assignment @foo = Foo.find(params[:id]) @foo.update_attribute(:user_id, User.find(session[:user]) # same thing here, how to specify a customized message for the update??? end end any help is appreciated Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: h...