1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/schema
Neeraj Singh cd9592959f scope_chain should not be mutated for other reflections
Currently `scope_chain` uses same array for building different
`scope_chain` for different associations. During processing
these arrays are sometimes mutated and because of in-place
mutation the changed `scope_chain` impacts other reflections.

Fix is to dup the value before adding to the `scope_chain`.

Fixes #3882.
2013-10-14 11:59:59 -04:00
..
mysql2_specific_schema.rb fix detect column type of enum 2013-04-01 17:09:20 +09:00
mysql_specific_schema.rb fix detect column type of enum 2013-04-01 17:09:20 +09:00
oracle_specific_schema.rb added additional objects necessary for OracleAdapter specific tests 2009-08-06 23:40:59 +03:00
postgresql_specific_schema.rb Correctly parse bigint defaults in PostgreSQL 2013-04-05 09:37:08 -04:00
schema.rb scope_chain should not be mutated for other reflections 2013-10-14 11:59:59 -04:00
sqlite_specific_schema.rb Remove sqlite specificsupports_autoincrement? which always defaults to true 2013-08-10 22:21:25 +05:30