Consider

  link = url_for(:controller => "signed_in",
                 :action => "show", :id => "user_info")
   # => /signed_in/user_info

to which I wish to add the either or both of the following

  locale=en
  nickname=ralph

Is there a nice way in Rails or Ruby to do this so that I end up with
  /signed_in/user_info?locale=en&nickname=ralph
or
  /signed_in/user_info?locale=en
or
  /signed_in/user_info?nickname=ralph
but not
  /signed_in/user_info?locale=en?nickname=ralph
?
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to