On Monday, August 11, 2014 3:33:19 AM UTC+1, Ruby-Forum.com User wrote:
>
> Hi guys,
>
> I have been trying to pick up rails and I am having trouble passing
> parameters through a link_to tag so as to retrieve records where there
> is a parameter match.
>
If you're trying to get the result of all those checkboxes why not use a
form?
<%= link_to "#{t('retrieve_case')}", {:controller =>
> 'employee_indisciplines', :action => 'show_indisciplines', :employee.id
> => params[:retrieve_case]}, { :class => 'submit_button' }, :method =>
> 'post' %>
>
>
That :employee.id isn't right, but changing that won't help you as far as
getting the data from the checkboxes
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/398e6d21-2edc-4f25-9047-71d7c99c7e9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.