-
Notifications
You must be signed in to change notification settings - Fork 72
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
uninitialized constant Control #5
Comments
I managed to fix this by changing the file:
from
to
I guess the exceptions weren't tested. I reckon all the "::Control::" lines should be updated with "::Milia::Control". Please advise thanks a lot, |
ok, but now I can't understand why I get that exception. I put the hooks in the user model like follows:
And it seems that the:
method, called by:
requires the user NOT to have a tenant_id, which is inserted by before_save hook. I'm confused here, am I using the right hooks? thanks a lot. |
Hi thanks for ::Milia::Control::Exception info. I'll need to update the gem. You should NOT have those two hooks (before_save/after_save) in your user Please read the section in the readme doc titled: Tenant pre-processing A tenant == an organization; users == members of the organization. Only On Thu, Jun 6, 2013 at 6:54 AM, DonGiulio notifications@github.com wrote:
|
The ::Control:: bug has been fixed in 0.3.38 of milia. |
Hello,
I'm using:
devise (2.2.4)
milia (0.3.30)
Rails 3.2.12
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin10.8.0]
I've tried to follow your tutorial, but upon user creation I get:
below the log:
The text was updated successfully, but these errors were encountered: