title: Automatic Login with Rails?
body: <p>I am trying to get up a simple authentication system with Rails' Restful-Authentication plugin, and am just wondering how it works, b/c I can't seem to figure out what the requirements are for cookies, and how to make it so the browser always remembers you (for 6+ months).</p>
  
  <p>Few questions:</p>
  
  <p>1) How do you do remember_me's for ruby's restful_authentication?  I can't seem to find a good one-liner to solve this problem...</p>
  
  <p>If a user signs up and checks "Remember Me", how does the rails application get the session/cookie without the user doing anything but going to the page the next time they go to the page, say 3 months later?</p>
  
  <p>2) Do I need to send some sort of info to the server, like their IP address or something?  What is <code>cookies[:auth_token]</code>, where is that defined?</p>
  
  <p>The goal is: I don't want them to have to enter their email/password again, like how StackOverflow works :)</p>