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
Agis- 431f8e0119 Only merge scopes with zero arity in has_many through
with dynamic conditions.

Fixes #16128

This bug was introduced in c35e438620
so it's present from 4.1.2-rc1 and after.

c35e438620
merges any relation scopes passed as proc objects to the relation,
but does *not* take into account the arity of the lambda.

To reproduce: https://gist.github.com/Agis-/5f1f0d664d2cd08dfb9b
2014-08-20 08:25:58 +03: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 Do not create synonym named subjects 2013-11-27 23:43:51 +01:00
postgresql_specific_schema.rb pg, preserve money type when dumping schema and extract money default. 2014-06-03 17:54:25 +02:00
schema.rb Only merge scopes with zero arity in has_many through 2014-08-20 08:25:58 +03:00
sqlite_specific_schema.rb fk: use random digest names 2014-06-26 22:03:49 +02:00