« Return to Thread: observe_field value in controller

Re: observe_field value in controller

by bill walton-2 :: Rate this Message:

Reply to Author | View in Thread


On Thu, 2009-07-09 at 12:43 -0700, JannaB wrote:
> how do I access the value of the field referenced in observe_field
> from within my controller for the action specified?

> <%= observe_field "channelnotes",
> :url => {:controller=> :channels, :action => 'notesboxchange'}
:with => whatever_you_want_the_parameter_key_to_be_named
> %>

HTH,
Bill


--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: observe_field value in controller