mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove defunct ivars
@column_names_with_alias, @dynamic_methods_hash, @time_zone_column_names, and @cached_time_zone
This commit is contained in:
parent
482e80e844
commit
588c321e74
2 changed files with 7 additions and 11 deletions
|
@ -19,7 +19,6 @@ module ActiveRecord
|
|||
|
||||
def initialize(base_klass, children)
|
||||
@base_klass = base_klass
|
||||
@column_names_with_alias = nil
|
||||
@children = children
|
||||
end
|
||||
|
||||
|
|
|
@ -302,11 +302,8 @@ module ActiveRecord
|
|||
@column_types = nil
|
||||
@content_columns = nil
|
||||
@default_attributes = nil
|
||||
@dynamic_methods_hash = nil
|
||||
@inheritance_column = nil unless defined?(@explicit_inheritance_column) && @explicit_inheritance_column
|
||||
@relation = nil
|
||||
@time_zone_column_names = nil
|
||||
@cached_time_zone = nil
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue