RailsCasts Pro episodes are now free!

Learn more or hide this

Laszlo Korte's Profile

GitHub User: laszlokorte

Site: http://laszlokorte.de

Comments by Laszlo Korte

Avatar

Just the same as in the controller

ruby
User.create(:email => 'my@mail.org', :password => 'mys3cret')

The pasword hashing is done internally.

Avatar

It's "template override", but the controller inherits the template from the parent controller