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

use_before_filter numeric value #12

Closed
michaelachrisco opened this issue Aug 5, 2015 · 3 comments
Closed

use_before_filter numeric value #12

michaelachrisco opened this issue Aug 5, 2015 · 3 comments
Labels

Comments

@michaelachrisco
Copy link

After running rails generate regressor:controller, some of the controllers generated a numeric value where there were none. These were only with inherited controllers such as:

Controller:

class User::RolesController < RolesController; end

Spec:

describe User::RolesController do
    it { should use_before_filter(:70303058551480) }
@erwinjunker
Copy link
Owner

I experienced this behaviour before - using cancan or cancancan. Do you use any of them?

@michaelachrisco
Copy link
Author

Pundit actually.

@erwinjunker
Copy link
Owner

Should be fixed in version 0.5.7. It was actually a problem using a proc for a before filter.

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

No branches or pull requests

2 participants