Permalink
Browse files

Fix for DateTime superclass mismatch errors seen on some linux distri…

…butions. [Koz]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 69b0e5c commit 517bf0814e95922d8675b20abc70fa0536044bbe @NZKoz NZKoz committed Feb 4, 2007
Showing with 2 additions and 3 deletions.
  1. +2 −3 activesupport/lib/active_support/core_ext/date_time.rb
@@ -1,5 +1,4 @@
+require 'date'
require "#{File.dirname(__FILE__)}/time/behavior"
-class DateTime
- include ActiveSupport::CoreExtensions::Time::Behavior
-end
+DateTime.send(:include, ActiveSupport::CoreExtensions::Time::Behavior)

0 comments on commit 517bf08

Please sign in to comment.