Hi, I have the following observe field:
<%= observe_field :session_treatment, :url => { :action =>
'retrieve_rate' }, :with => 'treatment' %>
This passes on the 'treatment' variable to the action, but I'd like to
pass another variable and I'm having a hard time figuring out how to
write it. Any help would be appreciated.
Thanks, but now I'm having trouble with the 'value2' part. I'd like
this value2 to be a variable I define in my controller - @user.
However, it seems that this variable isn't available to the
observe_field. Is this correct? And if so, does that mean I have to
use a hidden form field?