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

DEPRECATION WARNING: append_before_filter is deprecated and will be removed in Rails 5.1. Use append_before_action instead. #272

Open
tbtalbottjr opened this issue Apr 6, 2017 · 1 comment

Comments

@tbtalbottjr
Copy link

Would be nice to update to append_before_action in jammit/controller.rb:96 to remove the notice in Rails 5 and be usable in 5.1.

@andoke
Copy link

andoke commented Jun 5, 2020

I did this as a workaround in my initializers:

ActionController::Base.class_eval do
  class << self
    alias_method :append_before_filter, :append_before_action
  end
end

Until we move our project to Webpack.

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

No branches or pull requests

2 participants