-
Notifications
You must be signed in to change notification settings - Fork 84
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
uninitialized constant RoutingFilter::Filter #27
Comments
Did you try adding
or maybe just
before defining your Country filter? |
Requiring 'routing_filter' doesn't resolve the issue for me. Any ideas? |
I'm pretty sure it has something to do with your app or the load paths. I just created a new rails 2.3.14 app, took the country filter from a few comments above, stuck it into lib/routing_filter/country.rb and could use it in the routes file without any error. |
Works on 3.1.4 and 3.2.3 as well, closing this as it's not reproducible. Please re-open if there is a documented way to show this error. |
When I use bundler with the latest code on rails 2.3.11 it gives me the following error.
Here is my sample filter /lib/routing_filter.rb:
And my /config/routes.rb:
The text was updated successfully, but these errors were encountered: