> On Mar 15, 7:59 am, daphonz <[email protected]> wrote:
>
> > Have you tried just making a hidden field for the patient id?

BTW

<% form_tag group_labs_path, :method => :get do %>
        <%= hidden_field_tag :patient_id, @patient.id %>

works perfectly of course :)  (Thanks!)

But I still don't understand why

<% form_tag group_labs_path( :patient_id => @patient.id ), :method
=> :get do %>

isn't permitted syntax.  Someday I'll understand RESTful routes, but
not today :)

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to