We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://guides.rubyonrails.org/routing.html#defining-defaults
It appears that defaults can only be overridden when they are part of the route. See this issue on Stack Overflow:
http://stackoverflow.com/questions/31748306/overriding-default-parameters-in-ruby-on-rails-with-url-query-strings/31749247#31749247
If this is the desired case, can we get a clear mention of it on the documentation page?
The text was updated successfully, but these errors were encountered:
This is for security reasons - otherwise url hacking could override the defaults. I'll look at adding a note to the guides.
Sorry, something went wrong.
Add note to routing guide about overriding defaults [ci skip]
cf6a0c3
Fixes #21085. (cherry picked from commit 8e4cdc92cf5614a654b129fcd5f39b7cbb200f8f)
aa79574
No branches or pull requests
http://guides.rubyonrails.org/routing.html#defining-defaults
It appears that defaults can only be overridden when they are part of the route. See this issue on Stack Overflow:
http://stackoverflow.com/questions/31748306/overriding-default-parameters-in-ruby-on-rails-with-url-query-strings/31749247#31749247
If this is the desired case, can we get a clear mention of it on the documentation page?
The text was updated successfully, but these errors were encountered: