Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
params[:user] = {:name => 'Foo',:email => 'foo@example.com'}
@user = User.new(params[:user])
@snake66

This comment has been minimized.

Show comment Hide comment
@snake66

snake66 Nov 15, 2012

You mean User.new(params[:user]), right?

snake66 commented Nov 15, 2012

You mean User.new(params[:user]), right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment