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.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Remove AR#scope() method
Pratik Naik
2010-01-16
1
-9
/
+9
*
Make scopes use relations under the hood
Pratik Naik
2010-01-16
1
-6
/
+9
*
Delay building arel relation as long as possible for improved introspection
Pratik Naik
2010-01-12
1
-37
/
+35
*
Add Relation#create_with to explictily specify create scope
Pratik Naik
2010-01-04
1
-7
/
+9
*
Ensure using proper engine for Arel::Table
Pratik Naik
2010-01-04
1
-1
/
+1
*
Rename a variable name for consistency
Pratik Naik
2010-01-03
1
-4
/
+4
*
Move Relation#spawn and Relation#merge to a separate module
Pratik Naik
2010-01-03
1
-46
/
+1
*
Give preference to the second relation's order when merging
Pratik Naik
2010-01-03
1
-3
/
+10
*
Further simplify Relation#references_eager_loaded_tables?
Pratik Naik
2010-01-03
1
-20
/
+3
*
Cache Relation#to_sql
Pratik Naik
2010-01-03
1
-2
/
+5
*
Make Relation#includes behave exactly like the existing :include option
Pratik Naik
2010-01-03
1
-3
/
+30
*
Add Relation#includes to be an equivalent of current finder option :include
Pratik Naik
2010-01-03
1
-5
/
+13
*
Implement Relation#create and Relation#create!
Pratik Naik
2010-01-03
1
-1
/
+13
*
Implement Relation#new
Pratik Naik
2010-01-03
1
-1
/
+12
*
Use arel predicates instead of strings wherever possible when merging relations
Pratik Naik
2010-01-02
1
-11
/
+10
*
Give higher preference to second relation's equality predicates when merging
Pratik Naik
2010-01-02
1
-11
/
+27
*
Fix join string for the WHERE clause
Pratik Naik
2010-01-02
1
-1
/
+1
*
Add Relation#table to get the relevant Arel::Table
Pratik Naik
2010-01-01
1
-1
/
+10
*
Add Relation#delete [Pratik Naik, Emilio Tagua]
Pratik Naik
2010-01-01
1
-0
/
+4
*
Organize Relation methods into separate modules
Pratik Naik
2009-12-30
1
-239
/
+1
*
Relation#many? shoud load the records if there's a LIMIT
Pratik Naik
2009-12-30
1
-1
/
+1
*
Add Relation#any? and Relation#many?
Pratik Naik
2009-12-30
1
-0
/
+16
*
Oops, add the missing #tap call
Pratik Naik
2009-12-29
1
-1
/
+1
*
Rewrite Relation#readonly, eager_load, preload using Object#tap
Pratik Naik
2009-12-29
1
-12
/
+4
*
Rename Relation#create_new_relation to spawn and refactor preload/eagerload a...
Pratik Naik
2009-12-29
1
-37
/
+43
*
Refactor Relation#readonly using attr_writer
Pratik Naik
2009-12-29
1
-10
/
+19
*
Relation#respond_to? should take second argument for responding to private me...
Pratik Naik
2009-12-29
1
-2
/
+2
*
Make sure Relation responds to dynamic finder methods
Pratik Naik
2009-12-29
1
-1
/
+9
*
Add Relation#size and Relation#empty?
Pratik Naik
2009-12-29
1
-0
/
+8
*
Use relation#delete_all for Model.delete_all
Pratik Naik
2009-12-29
1
-2
/
+1
*
Add Relation#delete_all
Pratik Naik
2009-12-29
1
-0
/
+6
*
Migrate all the calculation methods to Relation
Pratik Naik
2009-12-29
1
-3
/
+4
*
Use present rather than any
Jeremy Kemper
2009-12-28
1
-2
/
+2
*
Add Model.having and Relation#having
Pratik Naik
2009-12-29
1
-0
/
+12
*
Move Relation calculation methods to a separate module
Pratik Naik
2009-12-28
1
-45
/
+1
*
Add Relation#count
Pratik Naik
2009-12-28
1
-0
/
+45
*
Add Model.readonly and association_collection#readonly finder method
Pratik Naik
2009-12-28
1
-1
/
+1
*
Raise ArgumentError when trying to merge relations of different classes
Pratik Naik
2009-12-28
1
-0
/
+2
*
Relation#readonly(false) should toggle the readonly flag
Pratik Naik
2009-12-28
1
-4
/
+9
*
Add Model.lock and relation#lock now that arel has locking
Pratik Naik
2009-12-28
1
-0
/
+11
*
Dont delegate relation#find to to_a
Pratik Naik
2009-12-28
1
-1
/
+1
*
Use arel#from instead of the current hack
Pratik Naik
2009-12-28
1
-10
/
+5
*
Handle preloads and eager loads when merging relations
Pratik Naik
2009-12-28
1
-2
/
+4
*
Add relation#merge to merge two relations
Pratik Naik
2009-12-28
1
-5
/
+17
*
Return a new relation when blank is supplied to relation.joins
Pratik Naik
2009-12-27
1
-1
/
+1
*
Add relation.destroy_all
Pratik Naik
2009-12-27
1
-1
/
+11
*
Make Model.destroy_all use new finders
Pratik Naik
2009-12-27
1
-0
/
+2
*
Add relation.last and relation.reverse_order
Pratik Naik
2009-12-27
1
-1
/
+34
*
Add relation.exists?
Pratik Naik
2009-12-27
1
-0
/
+6
*
Add relation.from as a temporary workaround until arel relation has .from option
Pratik Naik
2009-12-27
1
-3
/
+13
[next]