Can anyone let me know why the below isnt passing the form values. Im
getting no errors and the loading indicator shows and hides as expected.
<% remote_form_for :action_item,
action_item,
:url => { :action =>
''update_urgent_and_important'',
:id => action_item},
:loading =>
"Element.show(''loading'')",
:complete =>
"Element.hide(''loading'')" do |f| %>
<%= f.select :urgent, (1..5) %>
<%= f.select :important, (1..5) %>
<%= submit_tag ''Save'' %>
<% end %>
All im getting from the logs is the below so its passing the id ok but
not the form select values. Ive checked the syntax and everything looks
ok?
Parameters: {"action"=>"update_urgent_and_important",
"id"=>"1",
"controller"=>"actions"}
--
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?hl=en
-~----------~----~----~----~------~----~------~--~---