Rails 3.0.3 issue with locale filter
Closed this issue · 1 comments
koichirose commented
Hi, I just updated my bundle to use Rails 3.0.3 and I'm getting errors everytime I use route helper paths.
Here's what I'm getting in the console:
http://pastebin.com/8X5qxBBP
It seems that routing-filter is treating my restaurant as a locale.
I think the error is here: /usr/lib/ruby/gems/1.8/gems/routing-filter-0.2.2/lib/routing_filter/filters/locale.rb:68
Everything works with Rails 3.0.0 and 3.0.1 .
I'm using routing-filter 0.2.2.
Please let me know if you need any more details.
Thanks
koichirose commented
I had a problem with my routes.
I had to remove this block from my routes.rb file:
scope "(:locale)", :locale => /en|it/ do
...
end
Hope it helps if someone else has this issue.