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
/
predicate_builder.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Refactor predicate builder when receiving empty hash
Carlos Antonio da Silva
2013-01-17
1
-4
/
+4
*
1.9 Syntax related changes
AvnerCohen
2012-11-10
1
-2
/
+2
*
Remove ActiveRecord::Model
Jon Leighton
2012-10-26
1
-3
/
+3
*
rename AR::Model::Tag to AR::Tag - fixes #7714
Francesco Rodriguez
2012-09-20
1
-1
/
+1
*
fix querying with an empty hash
Damien Mathieu
2012-09-19
1
-2
/
+6
*
Pass in the model class rather than engine
Jon Leighton
2012-09-13
1
-5
/
+5
*
Refactor to remove some duplication
Jon Leighton
2012-09-12
1
-37
/
+20
*
Fix nested association references
Jon Leighton
2012-09-12
1
-3
/
+4
*
Accept belongs_to assoc. keys in ActiveRecord queries
beerlington
2012-09-11
1
-4
/
+48
*
Remove conditional committed by accident
Santiago Pastorino
2012-06-09
1
-1
/
+1
*
Use each_with_object instead of each here
Santiago Pastorino
2012-06-09
1
-1
/
+1
*
predicate builder should not recurse for determining where columns.
Aaron Patterson
2012-05-30
1
-1
/
+1
*
CollectionProxy < Relation
Jon Leighton
2012-05-11
1
-3
/
+3
*
Remove Arel::Relation constant from PredicateBuilder.
Juanjo Bazán
2012-03-27
1
-2
/
+2
*
Refactor and cleanup in some ActiveRecord modules
Carlos Antonio da Silva
2012-03-03
1
-14
/
+13
*
automatically add references when we can
Jon Leighton
2012-01-16
1
-0
/
+12
*
refactor AR::PredicateBuilder.build_from_hash
Akira Matsuda
2011-12-29
1
-35
/
+37
*
where(foo: [1, nil]) becomes "WHERE foo = 1 OR foo IS NULL"
Akira Matsuda
2011-12-28
1
-1
/
+4
*
no need to compact an already compacted Array
Akira Matsuda
2011-12-28
1
-1
/
+1
*
Make PredicateBuilder recognise AR::Model
Jon Leighton
2011-12-24
1
-2
/
+2
*
pushing caching and visitors down to the connection
Aaron Patterson
2011-11-19
1
-1
/
+1
*
Fixes issue #3483, regarding using a mixture of ranges and discrete values in...
Ryan Naughton
2011-11-14
1
-6
/
+8
*
Fix PredicateBuilder clobbering select_values in subquery.
Ernie Miller
2011-08-20
1
-1
/
+1
*
Fix assumption of primary key name in PredicateBuilder subquery.
Ernie Miller
2011-08-20
1
-1
/
+1
*
supporting nil when passed in as an IN clause
Aaron Patterson
2011-04-29
1
-1
/
+12
*
use Arel::Table#alias rather than passing the :as parameter
Aaron Patterson
2011-03-05
1
-2
/
+2
*
Split AssociationProxy into an Association class (and subclasses) which manag...
Jon Leighton
2011-02-18
1
-1
/
+1
*
use the arel table rather than generating strings
Aaron Patterson
2011-02-16
1
-1
/
+1
*
no need for Array.wrap
Aaron Patterson
2011-02-16
1
-1
/
+1
*
removed an unnecessary second query when passing an ActiveRecord::Relation to...
Steven Fenigstein
2011-02-16
1
-1
/
+4
*
User id instead of quoted_id to prevent double quoting. Fixes failing test fo...
Robert Pankowecki (Gavdi)
2011-01-04
1
-1
/
+1
*
arel can escape the id, so avoid using the database connection
Aaron Patterson
2010-12-22
1
-1
/
+1
*
Arel::Table#[] always returns an attribute, so no need for ||
Aaron Patterson
2010-12-22
1
-1
/
+1
*
to_sym stuff before passing it to arel
Aaron Patterson
2010-12-22
1
-1
/
+1
*
just wrap as a sql literal
Aaron Patterson
2010-11-23
1
-2
/
+1
*
Do not send id for quoting twice if the primary key is string.
Neeraj Singh
2010-11-23
1
-1
/
+2
*
support finding by a ruby class [#5979 state:resolved]
Aaron Patterson
2010-11-15
1
-0
/
+3
*
use quoted id of single AR::Base objects in predicates
Aaron Patterson
2010-11-15
1
-0
/
+2
*
avoid creating objects when we can
Aaron Patterson
2010-10-03
1
-11
/
+5
*
passing the quoted id to arel if the object has a quoted id
Aaron Patterson
2010-09-10
1
-1
/
+3
*
No need to check if the attribute exists (this is the same behavior as in 2.3...
José Valim
2010-06-29
1
-3
/
+1
*
Fix small bug where ActiveRecord::PredicateBuilder#build_from_hash didn't tes...
James Harton
2010-06-22
1
-1
/
+1
*
Raise a StatementInvalid error when trying to build a condition with hash key...
Carl Lerche
2010-04-03
1
-1
/
+3
*
Goodbye ActiveRecord::NamedScope::Scope
Pratik Naik
2010-04-02
1
-1
/
+1
*
Arel now handles ranges with excluded end.
Emilio Tagua
2010-03-29
1
-6
/
+1
*
Arel now fallback to using Arel::Attribute if the table/column doesn't exists.
Emilio Tagua
2010-03-10
1
-3
/
+1
*
Fix scope loading issue when the table doesn't exist
Pratik Naik
2010-03-10
1
-1
/
+3
*
Rely on arel to generate the correct sql when an empty array is supplied to I...
Pratik Naik
2010-01-30
1
-1
/
+1
*
Handle invalid query IN() generated when a blank array is supplied in hash co...
Pratik Naik
2010-01-18
1
-1
/
+2
*
Inherit named scope class Scope from Relation
Pratik Naik
2010-01-18
1
-1
/
+1
[next]