geekwu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Mar-10 14:43 UTC
Adding actions to in_place_edit
When an in_place_edit field''s value has been updated I would like to do something such as sending an email. How can I add functionality to the set_{obj}_ method? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
On 10 Mar 2008, at 14:43, geekwu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > When an in_place_edit field''s value has been updated I would like to > do something such as sending an email. How can I add functionality to > the set_{obj}_ method?Just write the method yourself instead of leaning on in_place_edit_for ? Fred> > >--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
geekwu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Mar-10 15:50 UTC
Re: Adding actions to in_place_edit
Yeah, I sort of came to that conclusion - not that it''s that hard. Thanks. On Mar 10, 11:08 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 10 Mar 2008, at 14:43, gee...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > > > When an in_place_edit field''s value has been updated I would like to > > do something such as sending an email. How can I add functionality to > > the set_{obj}_ method? > > Just write the method yourself instead of leaning on in_place_edit_for ? > > Fred > >--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---