提交 2e57b669 编写于 作者: A Arun Agrawal

Adding comment to work with 1.8.7. Nested Attribute fix.

上级 cfb5f1b6
......@@ -402,6 +402,9 @@ def merge_target_lists(persisted, memory)
return memory if persisted.empty?
persisted.map! do |record|
# To work with ruby 1.8.7
# > 1.9 #=> mem_record = memory.delete(record)
mem_record_index = memory.index(record)
if mem_record_index
mem_record = memory.at(mem_record_index)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册