Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def new_user
- #/manage_account/new_user?firstName=ari&lastName=joniec&screenName=ari&password=password&email=ari@ari.com
- user = User.new(
- :login => params[:screenName],
- :email => params[:email],
- :password => params[:password],
- :password_confirmation => params[:password]
- )
- user.save!
- logger.dbg user
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement