--
You received this message because you are subscribed to the Google
Groups "SimpleForm" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to plataformatec-simp...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No, just use hidden_field_tag for this.
Anthony Kerz wrote:
i have something like:
<%= f.input :referrer, :as => :hidden, value: request.referrer %>
but i get an error about referrer not being a method on the entity
that the form is bound to.
for that field, i really just want the controller to pluck it out of
params.
is there any way to tell simple_form not to attempt to bind that field...?
regards,
tony.
--
You received this message because you are subscribed to the Google
Groups "SimpleForm" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to plataformatec-simpleform+unsub...@googlegroups.com.