phatworx / devise_security_extension

An enterprise security extension for devise, trying to meet industrial standard security demands for web applications.
MIT License
747 stars 346 forks source link

Change before_filter to before_action #236

Open mehtaparitosh opened 6 years ago

mehtaparitosh commented 6 years ago

I'm Getting an error in Rails 5 There was an error while trying to load the gem 'devise_security_extension'. Gem Load Error is: undefined method `before_filter' for ActionController::Base:Class Did you mean? before_action

I am unable to use this Gem

I can do it, tell me how

sherllochen commented 6 years ago

That has been fixed by merge some PR. But haven't update in RubyGems, so you can instal it from git to use the latest version.

gemfile

gem 'devise_security_extension', git: 'https://github.com/phatworx/devise_security_extension.git'