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"}