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
*
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
*
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
*
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 dynamic...
Pratik Naik
2009-12-27
1
-9
/
+13
*
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
*
Ensure preload and eager_load finder methods accept multiple arguments
Pratik Naik
2009-12-26
1
-2
/
+2
*
Make sure the relations are always immutable
Pratik Naik
2009-12-26
1
-8
/
+5
*
Add support for multiple arguments to .where finder
Pratik Naik
2009-12-26
1
-2
/
+7
*
Add Relation#all as an alias for to_a
Pratik Naik
2009-12-26
1
-0
/
+2
*
Stop supporting blank arguments to AR#relation query methods
Pratik Naik
2009-12-26
1
-27
/
+19
*
Rename Model.conditions and relation.conditions to .where
Pratik Naik
2009-12-26
1
-1
/
+1
*
Add Model.select/group/order/limit/joins/conditions/preload/eager_load class ...
Pratik Naik
2009-12-26
1
-25
/
+31
[next]