rails/rails — pull request #10072 by senny (2013-04-03 13:04:36+00:00)
Title: fix regression in Mapper when `format:` was used in a `scope`.

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.