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

update deprecated call #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

update deprecated call #22

wants to merge 1 commit into from

Conversation

rodrigomanhaes
Copy link

In Rails 5, an application using espinita shows the warning below:

DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. 
Use before_action instead.

@michelson
Copy link
Owner

It would be nice if this PR checks Rails.version , if it's >4.0.0 then use before_action , else before_filter.

@dtengeri
Copy link

dtengeri commented Feb 2, 2017

Any update on this?

@michelson
Copy link
Owner

nope, this PR will not work on Rails versions < 5 , so we can't merge this PR as it is right now. When I have some time I could fix this, but @dtengeri if you need the feature you can always fork and submit a PR.

cheers!

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.

3 participants