Pratik Naik
|
2a2bc8e84a
|
Handle invalid query IN() generated when a blank array is supplied in hash conditions
|
2010-01-18 18:56:55 +05:30 |
|
Pratik Naik
|
e1d507c7fb
|
Dont check for class equaity when merging relations
|
2010-01-18 04:28:21 +05:30 |
|
Pratik Naik
|
88de6b2de2
|
Inherit named scope class Scope from Relation
|
2010-01-18 04:24:24 +05:30 |
|
Pratik Naik
|
dca3de3bc7
|
Make relations work as scopes
|
2010-01-17 23:22:11 +05:30 |
|
Pratik Naik
|
54a043895f
|
Make merging of order values consistent
|
2010-01-17 14:19:41 +05:30 |
|
Pratik Naik
|
cd90dcb1bd
|
Rename Model.active_relation to Model.unscoped
|
2010-01-17 03:00:56 +05:30 |
|
Pratik Naik
|
468cfcedd3
|
Improve the error message for class mismatch on Relation#merge
|
2010-01-17 02:08:42 +05:30 |
|
Pratik Naik
|
3968825f5f
|
Make sure Model#active_relation always adds STI conditions if needed
|
2010-01-16 23:11:35 +05:30 |
|
Pratik Naik
|
61e831564a
|
Add Relation#apply_finder_options for applying old finder options
|
2010-01-16 21:21:20 +05:30 |
|
Pratik Naik
|
bed9179aa1
|
Make scopes use relations under the hood
|
2010-01-16 00:02:46 +05:30 |
|
Pratik Naik
|
006519d2c9
|
Use Relation#except for reversing the order
|
2010-01-12 22:55:57 +05:30 |
|
Pratik Naik
|
a04486dc99
|
Delay building arel relation as long as possible for improved introspection
|
2010-01-12 22:25:55 +05:30 |
|
Pratik Naik
|
a68165833a
|
Add Relation#create_with to explictily specify create scope
|
2010-01-04 03:50:16 +05:30 |
|
Pratik Naik
|
00f3f6dc31
|
Relation#merge and Relation#except should respect locks
|
2010-01-03 21:25:19 +05:30 |
|
Pratik Naik
|
3db876cb76
|
Relation#merge and Relation#except should respect havings
|
2010-01-03 20:50:04 +05:30 |
|
Pratik Naik
|
af5e1b4cc6
|
Add Relation#except
|
2010-01-03 19:43:29 +05:30 |
|
Pratik Naik
|
22bfd8b098
|
Rename a variable name for consistency
|
2010-01-03 19:20:40 +05:30 |
|
Pratik Naik
|
8edfa8f82f
|
Move Relation#spawn and Relation#merge to a separate module
|
2010-01-03 18:57:57 +05:30 |
|
Pratik Naik
|
6f5f23aaa7
|
Add Relation#includes to be an equivalent of current finder option :include
|
2010-01-03 03:24:28 +05:30 |
|
Pratik Naik
|
7ff131f740
|
Make sure not to spalt string arguments
|
2010-01-02 13:43:50 +05:30 |
|
Pratik Naik
|
b35873a575
|
Rename Model.arel_table to Model.active_relation
|
2010-01-02 00:25:29 +05:30 |
|
Pratik Naik
|
8a32d37967
|
Handle Range with excluded end
|
2010-01-01 04:33:56 +05:30 |
|
Pratik Naik
|
c62e88a5ab
|
Try using cached attribute before creating a new one
|
2010-01-01 04:17:56 +05:30 |
|
Pratik Naik
|
77c23b2104
|
Use PredicateBuilder for sql hash sanitization
|
2010-01-01 04:17:56 +05:30 |
|
Pratik Naik
|
141d3aff2f
|
Fix the method name for recusion
|
2010-01-01 04:17:56 +05:30 |
|
Pratik Naik
|
3c23b71a09
|
Move predicate building to a stand alone PredicateBuilder class
|
2010-01-01 04:17:55 +05:30 |
|
Pratik Naik
|
fdc62cdcdb
|
Use Arel::Attribute when building where conditions from hash
|
2010-01-01 02:22:03 +05:30 |
|
Pratik Naik
|
783caae52f
|
Use Arel::Attribute for pk conditions
|
2010-01-01 01:00:18 +05:30 |
|
Pratik Naik
|
7aabaac0f5
|
Organize Relation methods into separate modules
|
2009-12-30 19:29:26 +05:30 |
|