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 => ’
GitHub - paneq/calendar_date_select: This gem is not (and has never been) maintained by me’, :branch =>
‘rails3test’

and dont forgot to include default prototype.js

On Fri, Dec 17, 2010 at 11:09 PM, James Fong