mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
AR internals expect a normal hash, otherwise there are serialization incompatibilities
This commit is contained in:
parent
64c82f9ec6
commit
9731c862ec
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module ActiveRecord
|
|||
private
|
||||
def hash_rows
|
||||
@hash_rows ||= @rows.map { |row|
|
||||
ActiveSupport::OrderedHash[@columns.zip(row)]
|
||||
Hash[@columns.zip(row)]
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue