Displaying 1 result from an estimated 1 matches for "test_limited_eager_with_ord".
Did you mean:
test_limited_eager_with_order
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
...ions/eager_test.rb:300:in `test_limited_eager_with_multiple_order_columns''
c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `__send__''
c:/ruby/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/test_case_adapter.rb:19:in `run''
3) Error:
test_limited_eager_with_order(EagerAssociationTest):
ActiveRecord::StatementInvalid: DBI::DatabaseError: Execute
OLE error code:80040E14 in Microsoft OLE DB Provider for SQL Server
ORDER BY items must appear in the select list if SELECT DISTINCT is specified.
HRESULT error code:0x80020009
Exception occurre...