Here are the details of the changes needed when upgrading between major versions of this gem.
Definitely change the following:
- Replace references to
RpiAuth::AuthenticationHelper
withRpiAuth::Controllers::CurrentUser
. - Change
extend RpiAuth::Models::Authenticatable
toinclude RpiAuth::Models::Authenticatable
.
You might also need to;
- Remove dummy
login
route in/config/routes.rb
, and replace references tologin_path
withrpi_auth_login_path
. - Change the railties order if your app uses globbed/catch-all routes