Integrate Calender Date Select & Active Scaffold (Rails 2.3.2)
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 steps1) 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.

