I have a User ActiveRecord model that has email and password properties.
want to build a login for that has a “remember me” option. My view
<% @page_title = “Login” -%>
<%= error_messages_for ‘user’ %>
<%= form_tag %>
|Email:||<%= text_field("user", "email") %>|
|Password:||<%= password_field("user", "password") %>|
|Automatically log me in on this computer|
I would like to use the check_box FormHelper method, but remember is not
property of the User object, and I would rather not add it, since it
real make sense. What’s the best way to handle this?