Open sonq opened 5 years ago
You miss one line in your User model
has_one :member, :dependent => :destroy
This not working. I'm getting the same warning. Don't you think it's time to clean things up?
Any updates on this? I am also facing the same issue.
Hello all!
I am trying to use milia with devise for my project however i am facing some issues.
When i try to create a user it gives me this error: × 1 error prohibited this user from being saved: Tenant must exist
And this is the log
This is my User model
and this is my tenant model
I am using rails 5.1. I tried to comment out the config.load_defaults 5.1 in my application.rb file however i got this error
Thanks in advance! Soner