mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove internal typecasted_attribute_value
method
It is useless since 90c8be76a7
.
This commit is contained in:
parent
ebc09ed9ad
commit
057ba1280b
1 changed files with 1 additions and 5 deletions
|
@ -456,7 +456,7 @@ module ActiveRecord
|
|||
arel_table = self.class.arel_table
|
||||
|
||||
attribute_names.each do |name|
|
||||
attrs[arel_table[name]] = typecasted_attribute_value(name)
|
||||
attrs[arel_table[name]] = _read_attribute(name)
|
||||
end
|
||||
attrs
|
||||
end
|
||||
|
@ -483,9 +483,5 @@ module ActiveRecord
|
|||
def pk_attribute?(name)
|
||||
name == self.class.primary_key
|
||||
end
|
||||
|
||||
def typecasted_attribute_value(name)
|
||||
_read_attribute(name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue