we need assign key as well
This commit is contained in:
parent
b081bdcfdf
commit
0f6ec71dcd
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ class User
|
|||
|
||||
many :groups, :class_name => 'Group'
|
||||
|
||||
before_validation_on_create :assign_key
|
||||
before_validation :do_bad_things
|
||||
after_validation_on_create :setup_person
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue