Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ruby 1.9.2: rational.rb is deprecated

  • Loading branch information...
commit 8935854375a6c08acd617beaec30f6fd09a29ea0 1 parent a2de13e
@jeremy jeremy authored
View
2  activesupport/lib/active_support/core_ext/date_time/calculations.rb
@@ -1,4 +1,4 @@
-require 'rational'
+require 'rational' unless RUBY_VERSION >= '1.9.2'
class DateTime
class << self
Please sign in to comment.
Something went wrong with that request. Please try again.