Plugins - Rails Holidays

StarAdd to favorites

Tests whether the Date object represents a day which is a holiday. Prefixes methods with the code of the country. Currently usholiday? and caholiday? are supported.

Thomas Reynolds

svn://rubyforge.org//var/svn/rails-holidays

Rails' (MIT)

  • Currently 2.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Misc. Enhancements

Tags

Comments

Add a comment
justin 14 Jun 2007
I'm trying this with rails 1.2.3 and after installing, restarting my server gives. /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:376:in `new_constants_in': You have a nil object when you didn't expect it! (NoMethodError) You might have expected an instance of Array. The error occurred while evaluating nil.empty? from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:202:in `load_file' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:94:in `require_or_load' any help greatly appreciated.
Thomas Reynolds 2 Nov 2006

I just ran the test cases on revision 5404 and they passed. Let me know if you're still having problems.

Jacob 21 Oct 2006

Works in Rails version 1.1.4

Broken in Edge rails 5330:

"Plugins::Rails-holidays::Lib::Holidays" is not a valid constant name!

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?