[Ruby] CalendarHelper

Jordan Isip jordanisip at yahoo.com
Sun Jun 18 12:33:55 PDT 2006


Hi Everyone,

I'm new to the Seattle ruby list (fairly new to ruby/rails as well) and I'm looking forward to meeting up.  Until then, I am looking for some help with a calendar helper plugin.  http://wiki.rubyonrails.org/rails/pages/Calendar+Helper+Plugin  

I have it installed but I can't seem to get it to show.  It says that once it is installed, I can call it by: <%=calendar(:year => 2005, :month => 6)%>  

However, I get this error when I run it.

undefined method `calendar' for #<#<Class:0x3775e18>:0x3775dd0>

I haven't used plugins yet so I'm not exactly sure on what to expect.

Here is the log for when I generated the plugin:
//MyApp>ruby script/plugin install http://topfunky.net/svn/plugins
/calendar_helper --force
+ ./calendar_helper/MIT-LICENSE
+ ./calendar_helper/README
+ ./calendar_helper/Rakefile
+ ./calendar_helper/about.yml
+ ./calendar_helper/generators/calendar_styles/calendar_styles_generator.rb
+ ./calendar_helper/generators/calendar_styles/templates/blue/style.css
+ ./calendar_helper/generators/calendar_styles/templates/grey/style.css
+ ./calendar_helper/generators/calendar_styles/templates/red/style.css
+ ./calendar_helper/init.rb
+ ./calendar_helper/lib/calendar_helper.rb
+ ./calendar_helper/test/stylesheet_tester.html
+ ./calendar_helper/test/test_calendar_helper.rb

Any ideas?  Thanks in advance!

Jordan Isip



More information about the Ruby mailing list