- 16 8月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 14 8月, 2011 3 次提交
-
-
由 Jon Leighton 提交于
This reverts commit 9d396ee8, reversing changes made to fa2bfd83. Reason: the change broke the build.
-
由 Samer Masry 提交于
-
由 Franck Verrot 提交于
Simplify the test by using id and name. `id` will be the only real sort criteria in any case as it's unique.
-
- 28 7月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
This reverts commit 9d396ee8, reversing changes made to fa2bfd83. Reason: the change broke the build.
-
由 Samer Masry 提交于
-
- 26 7月, 2011 1 次提交
-
-
由 Franck Verrot 提交于
Simplify the test by using id and name. `id` will be the only real sort criteria in any case as it's unique.
-
- 24 7月, 2011 1 次提交
-
-
由 Franck Verrot 提交于
-
- 29 6月, 2011 1 次提交
-
-
由 Raimonds Simanovskis 提交于
Use latest Arel syntax and pass each order by expression as separate argument to order method as otherwise invalid Oracle SQL is generated.
-
- 25 6月, 2011 1 次提交
-
-
由 Lucia Escanellas 提交于
* Only on postgresql, order("first asc, second asc") was invalid * Closes #1720
-
- 21 6月, 2011 1 次提交
-
-
由 Ernie Miller 提交于
-
- 07 6月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 05 6月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
-
- 25 5月, 2011 1 次提交
-
-
由 Jeremy Friesen 提交于
Addresses an inconsistency in the ActiveRecord::Base.method_missing handling of dynamic finder methods and the passing of the &block parameter for :find_by_attributes.
-
- 28 3月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 25 3月, 2011 1 次提交
-
-
由 John Mileham 提交于
-
- 22 3月, 2011 1 次提交
-
-
由 Iain Hecker 提交于
-
- 19 3月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 13 3月, 2011 2 次提交
-
-
由 Andrew White 提交于
The test fails on PostgreSQL when trying to load the records as the comments_count field is not included in the GROUP BY clause.
-
由 Chris Oliver 提交于
[#5829 state:resolved] Signed-off-by: NAndrew White <andyw@pixeltrix.co.uk>
-
- 08 3月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Referencing a table via the ON condition in a join should force that table to be eager-loaded via a JOIN rather than via subsequent queries.
-
- 07 3月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Referencing a table via the ON condition in a join should force that table to be eager-loaded via a JOIN rather than via subsequent queries.
-
- 04 3月, 2011 1 次提交
-
-
由 John Mileham 提交于
-
- 17 2月, 2011 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Steven Fenigstein 提交于
removed an unnecessary second query when passing an ActiveRecord::Relation to a where clause. And added ability to use subselects in where clauses.
-
- 15 2月, 2011 2 次提交
-
-
由 Emilio Tagua 提交于
-
由 Emilio Tagua 提交于
-
- 13 2月, 2011 1 次提交
-
-
由 Ernie Miller 提交于
-
- 04 1月, 2011 4 次提交
-
-
由 Jon Leighton 提交于
ActiveRecord::Relation#primary_key should return a string, just like ActiveRecord::Base.primary_key does.
-
由 Jon Leighton 提交于
Let AssociationCollection#find use #scoped to do its finding. Note that I am removing test_polymorphic_has_many_going_through_join_model_with_disabled_include, since this specifies different behaviour for an association than for a regular scope. It seems reasonable to expect scopes and association proxies to behave in roughly the same way rather than having subtle differences.
-
由 Jon Leighton 提交于
Fix test_any in relations_test.rb, which was failing when relations_test.rb is run on its own (it passes when the entire suite is run). This is a hacky fix for a problem I didn't quite get to the bottom of, so I'd welcome a better solution...
-
-
- 17 12月, 2010 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 16 12月, 2010 1 次提交
-
-
由 Pavel Gorbokon 提交于
* rename method names (actually in tests) * rename instance variable @_named_scopes_cache to @_scopes_cache * rename references in doc comments * don't touch CHANGELOG :)
-
- 24 11月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
[#6022 state:resolved]
-
- 20 11月, 2010 2 次提交
-
-
由 Emilio Tagua 提交于
-
由 Marcin Raczkowski 提交于
-
- 19 11月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 18 11月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
When use where more than once on the same column, relation doesn't do an 'or' or 'in' with the values
-