Robs Reminders r4

Robs Reminders r4

Implement remember me.

I had forgotten to uncomment the remember me block of code in the /app/views/account/login.rhtml file. Removing this will allow users to skip the login process once they have successfully logged in once.

Change the date/time control

The current date time control is lousy. Fortunately there is a plugin that vastly improves it.

script/plugin install

Add the following to the application.html.erb layout

<html xmlns=”” xml:lang=”en” lang=”en”>
<meta http-equiv=”content-type” content=”text/html;charset=UTF-8″ />
<title>Reminders: <%= controller.action_name %></title>
  <%=  javascript_include_tag ‘prototype’ %>
<%= calendar_date_select_includes nil %>

Edit the /app/views/reminders/edit.html.erb file


<%= f.datetime_select :due %>


<%= f.calendar_date_select :due, :embedded => true, :time => true %>

A restart of the app server is required after updating.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *