[Rails-core] Pull request: fix SQL generation bug in Postgres / Oracle

2011-12-27 Thread Matt jones
https://github.com/rails/rails/pull/4082 Can I get some eyes on this? It's a relatively trivial change, but without it Oracle and Postgres generate invalid SQL in particular cases. TL;DR version: the construct_limited_ids_condition function passes the order parameters from the relation to the

[Rails-core] Change fixtures API and internal code

2011-12-27 Thread Alexey
I am fixing bugs in fixtures.rb, and would like to propose some API and internal code changes. 1. Make TestFixtures::fixture_table_names hold a hash? I would like to make the (undocumented?) class attribute `TestFixtures::fixture_table_names` to hold a Hash of the form ``` { fixture_name =