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 (
Collapse
)
Author
Age
Files
Lines
...
*
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 ↵
Pratik Naik
2009-12-29
1
-37
/
+43
|
|
|
|
associations using attr_writer
*
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 ↵
Pratik Naik
2009-12-29
1
-2
/
+2
|
|
|
|
methods
*
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
|
*
Relation should supply :from to find_with_associations
Pratik Naik
2009-12-27
1
-1
/
+2
|
*
Add find(ids) to relations
Pratik Naik
2009-12-27
1
-1
/
+62
|
*
Make Model.find_or_create_by_* and find_or_initialize_by_* use relations and ↵
Pratik Naik
2009-12-27
1
-3
/
+4
|
|
|
|
remove method caching
*
Add find_or_create_by_* and find_or_initialize_by_* to relations
Pratik Naik
2009-12-27
1
-0
/
+23
|
*
Make Model.find_by_* and Model.find_all_by_* use relations and remove ↵
Pratik Naik
2009-12-27
1
-9
/
+13
|
|
|
|
dynamic method caching
*
Add find_by_* and find_all_by_* finders to ActiveRecord::Relation
Pratik Naik
2009-12-27
1
-0
/
+14
|
*
Ensure Model.scoped adds type conditions for STI models
Pratik Naik
2009-12-27
1
-11
/
+14
|
*
Add relation.reload to force reloading the records
Pratik Naik
2009-12-26
1
-0
/
+6
|
*
Cache the loaded relations
Pratik Naik
2009-12-26
1
-32
/
+43
|
[prev]
[next]