Without typos
This commit is contained in:
parent
83f8cbbb5c
commit
fd2fac865b
1 changed files with 6 additions and 3 deletions
|
|
@ -23,9 +23,12 @@ def create
|
|||
:password => "#{username+backer_info[backer_number]['pin'].to_s}",
|
||||
:password_confirmation => "#{username+backer_info[backer_number]['pin'].to_s}",
|
||||
:person => {
|
||||
:profile => { :first_name => backer_info[backer_number]['given_name'], :last_name => backer_info[backer_number]['family_name'],
|
||||
:image_url => "http://#{username}.joindiaspora.com/images/user/#{username}.jpg")
|
||||
}}
|
||||
:profile => {:first_name => backer_info[backer_number]['given_name'],
|
||||
:last_name => backer_info[backer_number]['family_name'],
|
||||
:image_url => "http://#{username}.joindiaspora.com/images/user/#{username}.jpg"
|
||||
}
|
||||
}
|
||||
)
|
||||
user.save
|
||||
user.person.save!
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue