Take out extra person.save
This commit is contained in:
parent
6a4351378b
commit
5a5bd13ceb
1 changed files with 0 additions and 1 deletions
|
|
@ -363,7 +363,6 @@ class User
|
|||
self.password = opts[:password]
|
||||
self.password_confirmation = opts[:password_confirmation]
|
||||
self.save!
|
||||
self.person.save!
|
||||
invitations_to_me.each{|invitation| invitation.to_request!}
|
||||
|
||||
self.reload # Because to_request adds a request and saves elsewhere
|
||||
|
|
|
|||
Loading…
Reference in a new issue