calendar_date_select_tag

Hi guys,

I'm pretty new to the rubyonrails community and is running into quite a noob question.

I'm currently using rails 3.0.3 and been trying to get the calendar_date_select plugin to work

I've included into my Gem file, did a "bundle install" everything shows up correct. However, when I try to use the <%= calendar_date_select_tag :date %> in my _form.html.erb file it would say

undefined method `calendar_date_select_tag' for #<#<Class:0xb6bc8b88>: 0xb6bc7d64>

can anyone shine some light for me? Thanks, James

There is a line; <%= calendar_date_select_includes %> (or something like that) that will bring in the JS and CSS files that you need.

hey,

Add this line in your gem file.

gem ‘calendar_date_select’, :git => ‘http://github.com/paneq/calendar_date_select.git’, :branch => ‘rails3test’

and dont forgot to include default prototype.js