1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert some warning removals related to Ruby 2.0

These warnings were actually a bug in Ruby 2.0, the accessors should not
be raising such warnings, they are only meant for ivars.

-

Revert "fix warnings in Ruby 2.0"

This reverts commit 26702a6d34.

-

Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2"

This reverts commit f63d6544e4, reversing
changes made to 3a890681fa.
This commit is contained in:
Carlos Antonio da Silva 2012-12-12 23:27:10 -02:00
parent e274db9edc
commit ded5f5b261
3 changed files with 0 additions and 6 deletions

View file

@ -8,8 +8,6 @@ require 'active_support/core_ext/date_and_time/calculations'
class Date
include DateAndTime::Calculations
@beginning_of_week_default = nil
class << self
attr_accessor :beginning_of_week_default

View file

@ -1,8 +1,6 @@
require 'active_support/time_with_zone'
class Time
@zone_default = nil
class << self
attr_accessor :zone_default

View file

@ -407,8 +407,6 @@ module Rails
end
end
self.isolated = false
delegate :middleware, :root, :paths, to: :config
delegate :engine_name, :isolated?, to: :class