fesplugas/typus — Issue #340: Error when creating the first user
Author: williamn
Created: 2012-01-29 22:20:27+00:00
State: open

Here is how to reproduce the error:

I am on the "Sign Up" page
I fill "Email" with "admin@example.com"
I click "Sign Up"

and here is the error message

```
NoMethodError (undefined method `synchronize' for nil:NilClass):
...
typus (3.1.7) lib/typus/orm/active_record/user/class_methods.rb:12:in `new'
typus (3.1.7) lib/typus/orm/active_record/user/class_methods.rb:12:in `generate'
typus (3.1.7) app/controllers/admin/account_controller.rb:17:in `create'
...
```