Skip to content
New issue

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

fix regression in Mapper when format: was used in a scope. #10072

Merged

Conversation

senny
Copy link
Member

@senny senny commented Apr 3, 2013

Closes #10071

#normalize_path! depends on the options so we need to call #normalize_options! first to make sure everything is set correctly.

I did not add a CHANGELOG entry as it fixes a regression only present in master. Let me know if I should put one in anyways.

Closes rails#10071

`#normalize_path!` depends on the options so we need to call
`#normalize_options!` first to make sure everything is set correctly.
@senny
Copy link
Member Author

senny commented Apr 3, 2013

@pixeltrix @rafaelfranca can you take a look?

@carlosantoniodasilva
Copy link
Member

Makes sense 👍, thanks @senny!

pixeltrix added a commit that referenced this pull request Apr 3, 2013
…gnored

fix regression in Mapper when `format:` was used in a `scope`.
@pixeltrix pixeltrix merged commit 5120e55 into rails:master Apr 3, 2013
@pixeltrix
Copy link
Contributor

Thanks @senny ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

specifying the format option in a "scope" block in routes.rb is being ignored in Rails 4 beta 1
3 participants