Hello there,
I''m currently building a plugin, for which I need a before_save
callback. The method I want to call is in module InstanceMethods, but
when I add a before_save foo, foo, as defined as an InstanceMethod,
never gets called.
This is the first plugin I''m building, after only two weeks of fiddling
with Ruby and Rails, so if anyone is kind enough to help me out.... :)
--
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---