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

Rename filter method. #2

Merged
merged 1 commit into from
Aug 25, 2014
Merged

Rename filter method. #2

merged 1 commit into from
Aug 25, 2014

Conversation

juanibiapina
Copy link
Contributor

I don't know when this changed:

"The filter class must implement a method with the same name as the filter, so for the before_action filter the class must implement a before method, and so on."

http://guides.rubyonrails.org/action_controller_overview.html

I don't know when this changed:

"The filter class must implement a method with the same name as the filter, so for the before_action filter the class must implement a before method, and so on."

http://guides.rubyonrails.org/action_controller_overview.html
rosenfeld added a commit that referenced this pull request Aug 25, 2014
Rename "filter" method.to "before" in controller filter class.

This is likely to be a recent change in Rails.
@rosenfeld rosenfeld merged commit d295f5a into rosenfeld:master Aug 25, 2014
@rosenfeld
Copy link
Owner

thanks, merged

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

Successfully merging this pull request may close these issues.

2 participants