Skip to content

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

Description

@tbtalbottjr

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.

Activity

  1. andoke commented on Jun 5, 2020

    @andoke

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions