Commit Graph

23 Commits

Author SHA1 Message Date
DaSourcerer
642de21873 Replaced assertEquals(null, ...) with assertNull(...) 2012-08-13 18:52:34 +02:00
DaSourcerer
2798c74c69 Replaced assertEquals(true, ...) with assertTrue(...) 2012-08-13 18:42:40 +02:00
Alexander Kochetov
33cabc62c8 #1070 fix 2012-07-30 21:52:28 +04:00
Alexander Kochetov
fca49df5b6 Fix the beforeFind() behavior of the framework 2012-07-27 17:50:34 +04:00
resurtm
463a145d6f Fixed PgSQL tests failing. 2012-07-06 10:44:01 +06:00
Carsten Brandt
c985553d23 removed todo annotation 2012-05-29 21:40:56 +02:00
Carsten Brandt
b3e2dc78b1 fixed #749: CActiveRecord::refresh() in afterSave
CActiveRecord::refresh() did not work in afterSave() for new records.
refresh() will now always populate model with new data, when db entry exists
2012-05-29 21:36:41 +02:00
Alexander Makarov
f094f2c1a1 Fixes issue #206: Added ability to pass CDbCriteria object as AR relation parameter 2012-03-10 15:42:35 +04:00
alexander.makarow
2ee191932a (Fixes issue 2949) 2011-11-21 00:44:19 +00:00
alexander.makarow
76a61a8c14 (Fixes issue 2637) Related table alias set dynamically in relational query is now available in the scopes of reated model 2011-07-12 21:05:22 +00:00
alexander.makarow
1680724f1f (Fixes issue 2029) Added scope support to Model::relations() 2011-07-06 21:49:58 +00:00
alexander.makarow
f7505c00f9 (Fixes issue 2319) Added support to call behavior scope through criteria 'with'=>array('scopes'=>'behaviorScope') 2011-04-17 10:38:14 +00:00
qiang.xue
7a397f1909 * Added CActiveRecord::saveCounters(). 2011-04-08 22:09:56 +00:00
alexander.makarow
b1599035de (Fixes issue 2274) merging of "with" fails if there is joinType 2011-03-31 21:22:23 +00:00
alexander.makarow
b32b8753b3 2011-03-05 15:45:50 +00:00
alexander.makarow
2698e0fe11 Additional tests for AR through 2011-03-05 08:06:08 +00:00
alexander.makarow
78bf76d3ae (Fixes issue 1117) Added support for "through" in Active Record relations allowing to handle association table data 2011-02-28 17:19:09 +00:00
alexander.makarow
286d95aac3 Added ability to perform Relational JOIN without getting related models 2011-02-25 22:54:03 +00:00
alexander.makarow
7f04955dd0 additional tests for issue 1755 2011-02-21 00:29:52 +00:00
alexander.makarow
486acc4f5c (Fixes issue 558) Added parametrized named scopes, added scopes to criteria, implemented scope criteria merging 2011-02-19 00:11:00 +00:00
alexander.makarow
0f82a6fb52 2011-02-18 21:31:21 +00:00
alexander.makarow
04b6dd9331 (Fixes issue 1221) fixed CActiveRecordHasManyThroughTest 2011-02-18 21:16:18 +00:00
alexander.makarow
1f757cbf53 improved unit tests 2011-02-18 15:25:38 +00:00