Integrate Calender Date Select & Active Scaffold (Rails 2.3.2)

May 29, 2009
In a recent project we needed to integrate a date select function into the back end of an application

The following shows a really simple way to integrate Calender Date Select into Active Scaffold.

If you are working in an older version of rails you can follow instructions.

1) But if you are using a newer version of rails all you will need to do is the following steps

1) Install the Calendar Date Select gem

   1  gem install calendar_date_select

2) Add this line into the enviroment.rb

   1  config.gem "calendar_date_select"

3) Restart / Start the server

4) That about it but if you would like to change the colour theme of the Calender add the following to your layout

   1  <%= calendar_date_select_includes "red" %>
   2  # options include silver, blue and default

Thats its Active Scaffold will do the rest of the magic and you will now have a fancy date selecter tool.

Bookmark and Share

Why Ruby on Rails ?

Ruby On Rails Logo
Find out how Ruby on Rails could save your company time & money!

Latest News

Amazon S3 in AWS Management Console Demo

June 10, 2010
Amazon announce that the AWS Management Console now provides a simple and intuitive web interface for managing your Amazon S3 resources.
Read more »

Open Source ?

open source technology
Find out why savantis use open source technology & how this can benefit you !