santhiya
2011-Jul-21 10:15 UTC
calendar_helper: script/plugin install http://topfunky.net/svn/plugins/calendar_helper/
Hi, I have used calendar helper to highlight special days. By using this plugin script/plugin install http://topfunky.net/svn/plugins/calendar_helper/ in rails 3. I wouldnt update the class name for the specific day. how to do it???????????//// Add my code is <%= raw calendar(:year => @year,:month =>@month ) do |d| if d.mday % 2 == 0 [d.mday, {:class => ''day holiday''}] end end %> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.