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 => "#{username+backer_info[backer_number]['pin'].to_s}",
|
||||||
:password_confirmation => "#{username+backer_info[backer_number]['pin'].to_s}",
|
:password_confirmation => "#{username+backer_info[backer_number]['pin'].to_s}",
|
||||||
:person => {
|
:person => {
|
||||||
:profile => { :first_name => backer_info[backer_number]['given_name'], :last_name => backer_info[backer_number]['family_name'],
|
:profile => {:first_name => backer_info[backer_number]['given_name'],
|
||||||
:image_url => "http://#{username}.joindiaspora.com/images/user/#{username}.jpg")
|
:last_name => backer_info[backer_number]['family_name'],
|
||||||
}}
|
:image_url => "http://#{username}.joindiaspora.com/images/user/#{username}.jpg"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
)
|
||||||
user.save
|
user.save
|
||||||
user.person.save!
|
user.person.save!
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue