Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 277 Bytes
Railscasts Episode #250: Authentication from Scratch
http://railscasts.com/episodes/250
Commands
rails g controller users new
rails g model user email:string password_hash:string password_salt:string
rake db:migrate
rails dbconsole
rails g controller sessions new