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 commit26702a6d34
. - Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2" This reverts commitf63d6544e4
, reversing changes made to3a890681fa
.
This commit is contained in:
parent
e274db9edc
commit
ded5f5b261
3 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
require 'active_support/time_with_zone'
|
||||
|
||||
class Time
|
||||
@zone_default = nil
|
||||
|
||||
class << self
|
||||
attr_accessor :zone_default
|
||||
|
||||
|
|
|
@ -407,8 +407,6 @@ module Rails
|
|||
end
|
||||
end
|
||||
|
||||
self.isolated = false
|
||||
|
||||
delegate :middleware, :root, :paths, to: :config
|
||||
delegate :engine_name, :isolated?, to: :class
|
||||
|
||||
|
|
Loading…
Reference in a new issue