ruby on rails - How is the server getting Object Object params? -


we have situation somehow users submitting form , server getting params.

http method: post * parameters : {"object object"=>{","=>{"object object"=>{","=>{"object object"=>{","=>{"object object"=>{","=>{"object object"=>{","=>{"object object"=>{","=>{"object object"=>{","=>{"object object"=>{","=>{"object object"=>{","=>{"object object"=>nil}}}}}}}}}}}}}}}}}}, "action"=>"create", "controller"=>"admin/episodes"} 

we doing normal form_for

<%= form_for(@object, remote: true, html: {id: 'new_obj_form'} ) |object| %>  <%= object.label(:title, 'title') %> <%= object.text_field(:title, class: 'has_default') %>  ....  <input type="submit" class="btn" id="submit" value="save details" data-disable-with="saving details"/>  <% end %> 

any reason why server getting object json server params?


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -