Skip to content
joefiorini edited this page Sep 11, 2010 · 1 revision

You know those sites with the "remember me" checkbox on the login form? In Rails its as easy as

cookies[:remember_me] = true

Our client has asked if we can allow his users to check a "remember me" option and have their username automatically filled in. See if you can implement this in as few LOC as possible.

Clone this wiki locally