Frederick Cheung wrote:
> On Jul 31, 5:03�pm, Manu Lorenzo <[email protected]> wrote:
>> def try_to_login(user, options = {})
>> � � user_hash = {:screen_name => user.screen_name, :password =>
>> user.password}
>> � � user_hash.merge!(options)
>> � � post :login, :user => :user_hash
> 
> You meant to write :user => user_hash
> 
> Fred

Great! You got it! Thanks a lot!
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to