Skip to content

Loading…

ruby 1.8 ActiveSupport BasicObject no longer available #4235

Merged
merged 1 commit into from

2 participants

@vatrai

ruby 1.8 ActiveSupport BasicObject no longer available

@josevalim josevalim merged commit 7c55d69 into rails:master
@josevalim josevalim merged commit e734f00 into rails:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 30, 2011
  1. @vatrai
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 1 deletion.
  1. +0 −1 activesupport/lib/active_support/duration.rb
View
1 activesupport/lib/active_support/duration.rb
@@ -10,7 +10,6 @@ module ActiveSupport
# 1.month.ago # equivalent to Time.now.advance(:months => -1)
class Duration < BasicObject
attr_accessor :value, :parts
- delegate :duplicable?, :to => :value # required when using ActiveSupport's BasicObject on 1.8
def initialize(value, parts) #:nodoc:
@value, @parts = value, parts
Something went wrong with that request. Please try again.