Hey,

I upgraded our app from rails 3.0.10 to rails 3.1, but I found that
the helper call 'sites_path(@site, :domain => a_domain)' won't
generate the url I want, I actually want something like '/sites/1?
domain=a_domain', but query parameter 'domain' is missing from the
generated
url. I found that Rails 3.1 introduced a new option called 'domain'
for url_for: http://guides.rubyonrails.org/3_1_release_notes.html#action-dispatch.
I am curious if we can still add query parameter called 'domain' in
url.

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

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedApr 13, '12 at 6:00a
activeApr 13, '12 at 1:58p
posts2
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Foreverman: 1 post Walter Lee Davis: 1 post

People

Translate

site design / logo © 2021 Grokbase