mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
quotes are not necessary here
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
parent
81c5684267
commit
497a0c3b00
1 changed files with 2 additions and 2 deletions
|
@ -917,8 +917,8 @@ module ActiveRecord #:nodoc:
|
|||
def instantiate(record)
|
||||
object = find_sti_class(record[inheritance_column]).allocate
|
||||
|
||||
object.instance_variable_set(:'@attributes', record)
|
||||
object.instance_variable_set(:'@attributes_cache', {})
|
||||
object.instance_variable_set(:@attributes, record)
|
||||
object.instance_variable_set(:@attributes_cache, {})
|
||||
object.instance_variable_set(:@new_record, false)
|
||||
object.instance_variable_set(:@readonly, false)
|
||||
object.instance_variable_set(:@destroyed, false)
|
||||
|
|
Loading…
Reference in a new issue