Commit Graph

16 Commits

Author SHA1 Message Date
Qiang Xue
7654fff26d Added unit test for ActiveRecord::updateAttributes(). 2013-12-26 12:39:38 -05:00
Qiang Xue
42d8748e6e Fixes #1579: throw exception when the given AR relation name does not match in a case sensitive manner.
Renamed `ActiveRecord::getPopulatedRelations()` to `getRelatedRecords()`
2013-12-21 23:26:35 -05:00
Carsten Brandt
b4612637ec make count behave like in SQL
also fixed count behavior according to limit and offset.
fixes #1458
2013-12-18 17:22:56 +01:00
Carsten Brandt
e2b4708bbd added support for updateCounters to elasticsearch
issue #1313
2013-12-09 14:42:28 +01:00
Qiang Xue
b868e91fee Fixed test break. 2013-12-03 23:52:21 -05:00
Qiang Xue
b0568612bf Fixes #1402: AR eager loading has problem when asArray() is used together with viaTable(). 2013-12-03 20:58:20 -05:00
Carsten Brandt
be583a7a22 fixed problem with sorting by id in elasticsearch
issue #1317
2013-11-27 23:27:47 +01:00
Panagiotis Moustafellos
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
Carsten Brandt
5164a1671c finalized Query interface + general cleanup 2013-11-25 20:12:45 +01:00
Carsten Brandt
025d36cbec even more on random test failure 2013-11-25 16:05:49 +01:00
Carsten Brandt
d56e020109 more random test fixes 2013-11-25 14:07:30 +01:00
Carsten Brandt
c1febb74ff reduce randomness in test results 2013-11-25 13:29:54 +01:00
Carsten Brandt
325fc28182 several fixes and cleanup 2013-11-24 22:46:13 +01:00
Carsten Brandt
47705f0bc9 corrected assertations for test on #1310 2013-11-24 20:58:28 +01:00
Carsten Brandt
643593737d added test case for #1310 2013-11-24 20:45:50 +01:00
Carsten Brandt
f017ba357f refactored unit tests. put common AR tests in trait 2013-11-24 19:18:16 +01:00