Created
November 11, 2012 17:21
-
-
Save raysrashmi/4055589 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params[:user] = {:name => 'Foo',:email => '[email protected]'} | |
@user = User.new(params[:user]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You mean
User.new(params[:user])
, right?