How do I get the CalendarDateSelect plugin to work i Rails 2.0.2

Hi,

I am new to rails and found areally nice looking plugin for date
selection here:

http://code.google.com/p/calendardateselect/

I have installed it according to the instructions, but when I try to
change one of the date selections to use the plugin, I get something
like:

undefined method `calendar_date_select_tag’ for
#ActionView::Base:0x176aa4c

Extracted source (around line #45):

42:
43:
44: <%= f.date_select :date_of_birth %>
45:
46:
47: City
48:

How do I do this?

/Fredrik


“Give up learning, and put an end to your troubles.”

Do you have the includes in your view? This should be either in your
main view (application.html.erb, or in the specific view where you
need the calendar):

<%= calendar_date_select_includes “red” # or “blue”, or “silver”, or
nil for the default! %>

Thanks!

I don’t know what I did wrong, but reinserted teh same code I used
before solved the problem.
Thanks for making me try it again :slight_smile:

/Fredrik

On Sun, Mar 2, 2008 at 9:15 AM, Jeff C.man [email protected]
wrote:

like:
47: City
48:

How do I do this?

/Fredrik


“Give up learning, and put an end to your troubles.”


“Give up learning, and put an end to your troubles.”