Ruby on Rails Tuesday, September 3, 2013


On Tuesday, September 3, 2013 11:32:22 AM UTC+1, Martin Stabenfeldt wrote:

form.html.slim
 6 = simple_form_for([@request, @feature], remote: remote,   7   html: {class: "form-inline new_feature feature#{n+1}" }) do |f|   8   .border.padding10   9     = f.error_notification  10   11     .form-inputs  12       = f.hidden_field :request_id, :values => @request.id rescue nil  13       = f.hidden_field :form_id, :values => @request.id rescue nil


 That should be :value, not :values
 
Fred 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a2176dfd-c307-4754-96df-228799786333%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment