index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
relation
Commit message (
Collapse
)
Author
Age
Files
Lines
*
avoid @lock_value not initialized warning
Santiago Pastorino
2010-02-22
1
-1
/
+1
|
*
Move batch finders to Relation
Pratik Naik
2010-02-12
1
-0
/
+78
|
*
Rely on arel to generate the correct sql when an empty array is supplied to ↵
Pratik Naik
2010-01-30
1
-1
/
+1
|
|
|
|
IN predicate
*
Clear up some ivar warnings
Jeremy Kemper
2010-01-27
1
-3
/
+13
|
*
Simplify finder method definitions
Pratik Naik
2010-01-21
1
-13
/
+11
|
*
Supplying Arel::SqlLiteral is much faster
Pratik Naik
2010-01-21
1
-5
/
+12
|
*
Use quoted_table_name with arel.from() if no from values explicitly ↵
Pratik Naik
2010-01-21
1
-2
/
+4
|
|
|
|
supplied. Arel seems to be spending a lot of time figuring out the FROM value otherwise.
*
Relation#spawn is basically clone + reset
Pratik Naik
2010-01-21
1
-12
/
+2
|
*
Always use table.* in the finder query unless specified
Pratik Naik
2010-01-21
1
-1
/
+1
|
*
Use @limit_value and @offset_value instead of calling arel
Pratik Naik
2010-01-20
1
-4
/
+4
|
*
Base.merge_conditions is no longer needed
Pratik Naik
2010-01-20
1
-2
/
+2
|
*
Delegate exists? to Relation
Pratik Naik
2010-01-20
1
-3
/
+33
|
*
Move array_of_strings? to Relation
Pratik Naik
2010-01-20
1
-2
/
+6
|
*
Delegate all finders to Relation
Pratik Naik
2010-01-20
2
-42
/
+153
|
*
Ignore order for simple calculations to make postgresql happy
Pratik Naik
2010-01-20
1
-1
/
+2
|
*
Remove Relation#where_clause
Pratik Naik
2010-01-19
1
-2
/
+2
|
*
Rename CalculationMethods to Calculations and get rid of the old ↵
Pratik Naik
2010-01-19
1
-1
/
+1
|
|
|
|
Calculations module
*
Move the only remaining calculation method calculate() to Relation
Pratik Naik
2010-01-19
1
-30
/
+61
|
*
Get rid of construct_count_options_from_args
Pratik Naik
2010-01-19
1
-30
/
+0
|
*
Delegate count to Relation
Pratik Naik
2010-01-19
2
-5
/
+67
|
*
Delegate :average, :minimum, :maximum, :sum to Relation
Pratik Naik
2010-01-19
1
-8
/
+36
|
*
Add Relation#construct_relation_for_association_calculations for ↵
Pratik Naik
2010-01-19
1
-0
/
+6
|
|
|
|
calculations with includes
*
Add Relation#find_with_associations to load relation with eager loaded ↵
Pratik Naik
2010-01-19
1
-0
/
+36
|
|
|
|
associations
*
Handle invalid query IN() generated when a blank array is supplied in hash ↵
Pratik Naik
2010-01-18
1
-1
/
+2
|
|
|
|
conditions
*
Dont check for class equaity when merging relations
Pratik Naik
2010-01-18
1
-4
/
+0
|
*
Inherit named scope class Scope from Relation
Pratik Naik
2010-01-18
2
-4
/
+4
|
*
Make relations work as scopes
Pratik Naik
2010-01-17
1
-3
/
+7
|
*
Make merging of order values consistent
Pratik Naik
2010-01-17
1
-1
/
+1
|
*
Rename Model.active_relation to Model.unscoped
Pratik Naik
2010-01-17
1
-2
/
+2
|
*
Improve the error message for class mismatch on Relation#merge
Pratik Naik
2010-01-17
1
-1
/
+3
|
*
Make sure Model#active_relation always adds STI conditions if needed
Pratik Naik
2010-01-16
1
-1
/
+3
|
*
Add Relation#apply_finder_options for applying old finder options
Pratik Naik
2010-01-16
1
-0
/
+23
|
*
Make scopes use relations under the hood
Pratik Naik
2010-01-16
3
-35
/
+92
|
*
Use Relation#except for reversing the order
Pratik Naik
2010-01-12
1
-3
/
+2
|
*
Delay building arel relation as long as possible for improved introspection
Pratik Naik
2010-01-12
4
-139
/
+137
|
*
Add Relation#create_with to explictily specify create scope
Pratik Naik
2010-01-04
2
-0
/
+14
|
*
Relation#merge and Relation#except should respect locks
Pratik Naik
2010-01-03
1
-1
/
+3
|
*
Relation#merge and Relation#except should respect havings
Pratik Naik
2010-01-03
1
-1
/
+3
|
*
Add Relation#except
Pratik Naik
2010-01-03
1
-0
/
+22
|
*
Rename a variable name for consistency
Pratik Naik
2010-01-03
2
-3
/
+3
|
*
Move Relation#spawn and Relation#merge to a separate module
Pratik Naik
2010-01-03
1
-0
/
+49
|
*
Add Relation#includes to be an equivalent of current finder option :include
Pratik Naik
2010-01-03
1
-0
/
+4
|
*
Make sure not to spalt string arguments
Pratik Naik
2010-01-02
1
-1
/
+1
|
*
Rename Model.arel_table to Model.active_relation
Pratik Naik
2010-01-02
2
-7
/
+7
|
*
Handle Range with excluded end
Pratik Naik
2010-01-01
1
-1
/
+8
|
*
Try using cached attribute before creating a new one
Pratik Naik
2010-01-01
1
-1
/
+1
|
*
Use PredicateBuilder for sql hash sanitization
Pratik Naik
2010-01-01
1
-2
/
+4
|
*
Fix the method name for recusion
Pratik Naik
2010-01-01
1
-1
/
+1
|
*
Move predicate building to a stand alone PredicateBuilder class
Pratik Naik
2010-01-01
2
-30
/
+40
|
*
Use Arel::Attribute when building where conditions from hash
Pratik Naik
2010-01-01
1
-5
/
+36
|
[next]