-
Notifications
You must be signed in to change notification settings - Fork 168
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
Undefined method devise with 2.6.1 #65
Comments
I'll try to reproduce the problem on my side. I'm running a project with that setup and i don't see any issues yet. will start with a clean project and see if i can reproduce it |
I just tried to spin up a brand new rails project and it seems to work for me. can you open a repository where you can replicate the case? is it possible that you don't have your config/initializers/devise.rb file in the project? I'm able to reproduce it only if i remove the devise initializer. |
@exadeci try to rename |
I assume this is caused due to initializer loading the files in the wrong order and not related to apartment anyhow. |
@rpbaltazar Yeah it was a load order issue. Moving my |
If you think it should be added to the documentation, please feel free to submit a PR to update the readme accordingly. |
Steps to reproduce
excluded_models
Expected behaviour
No error
Actual behaviour
System configuration
Database: (Tell us what database and its version you use.) Postgres 12
Apartment version: 2.6.1
Apartment config (in
config/initializers/apartment.rb
or so):use_schemas
:true
Rails (or ActiveRecord) version: Rails 6.0.3.1
Ruby version: ruby 2.6.5p114
Downgrading to 2.6.0 fixes the issue.
The text was updated successfully, but these errors were encountered: