Try this.... documents_path(:first => 'one', :second => 'two')
On Tue, Feb 22, 2011 at 6:15 AM, paul <[email protected]> wrote: > I've got the following RESTful route: > > resources :documents > > I need to call the index action with two extra parameters, so my url > will look like: > > /documents/?first=one&second=two > > Unfortunately, the second parameter seems to be swallowed up. The > first one appears normally, though. That is, in my log file, I see: > > Parameters: {"first"=>"one"} > > Why is that, and how can I get both parameters to get passed through? > > Thanks! > > -- > 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. > > -- 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.

