Rails 2.x CalendarDateSelect

Recently I have taken up learning rails 2.0

Unfortunately the SuperInplaceControls (the Rails 2 version of CalendarDateSelect) plugin has been giving me some trouble. It seems that rails does not realize the plugin has been installed.

Does anyone have any thoughts as to what is happening here.

STEPS 1. Installed the SuperInplaceControls (the rails 2 version of CalendarDateSelect) ruby script/plugin install http://super-inplace-controls.googlecode.com/svn/trunk/super_inplace_controls/

2. Confirmed that the plugin was installed to /vendor/plugins/ super_inplace_controls

3. Updated the edit view accordingly <% form_for(@advert) do |f| %>              <%= f.calendar_date_select :start_at, :embedded => true %> <% end %>

OUTPUT JavaScript Error: `CalendarDateSelect` is undefined

I finally figured it out If your looking for answers....

I forgot to include the JavaScript references in the layout page:

<!-- This must be first --> <%= javascript_include_tag :defaults %>

<!-- This must be second --> <%= calendar_date_select_includes %> </head>