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
/
finder_methods.rb
Commit message (
Expand
)
Author
Age
Files
Lines
...
|
*
guarantee a list in the alias tracker so we can remove a conditional
Aaron Patterson
2014-02-14
1
-1
/
+9
|
*
Fix `ActiveRecord::RecordNotFound` error message with custom primary key
Kuldeep Aggarwal
2014-01-25
1
-2
/
+2
|
*
Ensure AR #second, #third, etc. finders work through associations
Jason Meller
2014-01-21
1
-8
/
+8
|
*
Ensure #second acts like #first AR finder
Jason Meller
2014-01-20
1
-7
/
+87
*
|
adding bind values to the manager object
Aaron Patterson
2014-01-13
1
-1
/
+2
|
/
*
doc, API example on how to use `Model#exists?` with multiple IDs. [ci skip]
Yves Senn
2014-01-10
1
-0
/
+1
*
Fix offset with last.
Lauro Caetano
2013-12-03
1
-1
/
+1
*
document id prefixed String usage of `.find`. refs #12891 [ci skip]
Yves Senn
2013-11-15
1
-5
/
+6
*
Merge branch 'master' into joindep
Aaron Patterson
2013-10-21
1
-0
/
+2
|
\
|
*
Raise an exception when model without primary key calls .find_with_ids
Shimpei Makimoto
2013-10-21
1
-0
/
+2
|
*
Don't remove the select values to add they back again
Rafael Mendonça França
2013-10-15
1
-1
/
+1
*
|
Merge branch 'master' into joindep
Aaron Patterson
2013-10-15
1
-2
/
+1
|
\
|
|
*
Merge pull request #11791 from versioncontrol/includes_with_persistent_select
Rafael Mendonça França
2013-10-12
1
-1
/
+1
|
|
\
|
|
*
Fixes #11773 when using includes combined with select, the select statement w...
Edo Balvers
2013-10-08
1
-1
/
+1
*
|
|
keep a cache on the alias object
Aaron Patterson
2013-10-14
1
-1
/
+1
*
|
|
store aliases in a better structure
Aaron Patterson
2013-10-14
1
-1
/
+3
*
|
|
eliminate single use method
Aaron Patterson
2013-10-13
1
-6
/
+3
*
|
|
eliminate duplicate code from to_sql
Aaron Patterson
2013-10-13
1
-4
/
+8
*
|
|
calling construct_relation_for_association_find is no longer necessary
Aaron Patterson
2013-10-13
1
-1
/
+1
*
|
|
push up `select` exclusion
Aaron Patterson
2013-10-13
1
-3
/
+4
*
|
|
JoinDependency will take care of making things unique
Aaron Patterson
2013-10-13
1
-1
/
+1
|
/
/
*
/
stuff the join dependency object in the "anything goes" hash.
Aaron Patterson
2013-10-10
1
-1
/
+1
|
/
*
let AR::FinderMethods#exists? return singletons in all cases [closes #11592]
Xavier Noria
2013-08-19
1
-7
/
+7
*
fix visibility of the relation construction methods
Aaron Patterson
2013-07-09
1
-5
/
+7
*
pass arel to select_all rather than depend on method_missing
Aaron Patterson
2013-07-09
1
-1
/
+1
*
Extract common query to a constant.
Vipul A M
2013-07-06
1
-1
/
+3
*
Remove order_values argument now that default_scope is simplified
Carlos Antonio da Silva
2013-06-28
1
-5
/
+5
*
Simplify/fix implementation of default scopes
Jon Leighton
2013-06-28
1
-2
/
+1
*
Merge pull request #10898 from dmitry/find_first_refactor_duplication
Rafael Mendonça França
2013-06-14
1
-11
/
+10
|
\
|
*
rename method `find_first_records` to `find_first_with_limit`
Dmitry Polushkin
2013-06-10
1
-3
/
+3
|
*
Refactored ActiveRecord `first` method to get rid of duplication.
Dmitry Polushkin
2013-06-09
1
-11
/
+10
*
|
Merge branch 'master' of github.com:lifo/docrails
Vijay Dev
2013-06-14
1
-3
/
+46
|
\
\
|
*
|
copy edits [ci skip]
Vijay Dev
2013-06-14
1
-19
/
+15
|
*
|
doc: renaming table name to follow the file's standards
Thiago Pinto
2013-06-08
1
-2
/
+2
|
*
|
instructions for variations and alternatives for ActiveRecord#find
Thiago Pinto
2013-06-08
1
-1
/
+35
|
*
|
explaining ActiveRecord#first in rails 3 and 4
Thiago Pinto
2013-06-08
1
-0
/
+13
*
|
|
we should apply the default scope before querying
Aaron Patterson
2013-06-12
1
-1
/
+2
*
|
|
Rather than raising ThrowResult when construct_limited_ids_conditions comes u...
Ben Woosley
2013-05-10
1
-13
/
+15
|
/
/
*
|
Extract JoinDependency#join_relation to DRY the repeated application of the #...
Ben Woosley
2013-05-10
1
-4
/
+1
*
|
In #apply_join_dependency, we can apply the #where in-place because relation ...
Ben Woosley
2013-05-10
1
-1
/
+1
*
|
DRY-up join dependency creation by extracting construct_join_depdency
Ben Woosley
2013-05-10
1
-7
/
+5
*
|
Pull the excepts into apply_join_dependency, for the sake of DRY.
Ben Woosley
2013-05-10
1
-3
/
+4
*
|
Simplify conditions within apply_join_dependency
Ben Woosley
2013-05-10
1
-9
/
+5
*
|
Move the except(:select) inside the construct_limited_ids_condition method to...
Ben Woosley
2013-05-10
1
-2
/
+2
*
|
Reject blank order_values within #columns_for_distinct, as the orders aren't ...
Ben Woosley
2013-05-10
1
-2
/
+2
*
|
Fix that #exists? can produce invalid SQL: "SELECT DISTINCT DISTINCT"
Ben Woosley
2013-05-10
1
-2
/
+2
*
|
true/false => truthy falsy
Steve Klabnik
2013-04-02
1
-2
/
+2
*
|
Throwing a RecordNotFound exception when a record is scanned using the
wangjohn
2013-04-01
1
-11
/
+24
*
|
Fixed typos in activerecord
Prathamesh Sonpatki
2013-03-27
1
-1
/
+1
*
|
adds a missing LIMIT 1 in #take docs
Xavier Noria
2013-02-23
1
-1
/
+1
|
/
[prev]
[next]