aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation/where_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add test cases for `where.not` with polymorphic associationRyuta Kamizono2017-08-181-0/+19
* Currently if relation object are passed to where condition for has one or has...chopraanmol12017-08-081-0/+14
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-1/+1
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Prevent making bind param if casted value is nilRyuta Kamizono2017-05-311-1/+5
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-1/+1
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-1/+1
* Add a test case for #20802Ryuta Kamizono2017-04-131-0/+5
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-1/+1
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-1/+1
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-6/+6
* Change require order to come `require "models/post"` before `require "models/...Yasuo Honda2016-09-021-1/+1
* Do not handle as an associated predicate if a table has the columnRyuta Kamizono2016-08-161-1/+1
* modernizes hash syntax in activerecordXavier Noria2016-08-061-11/+11
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-13/+13
* Fixed `where` for polymorphic associations when passed an array containing di...Philippe Huibonhoa2016-02-161-1/+13
* Suppress warnings of `assigned but unused variable`yui-knk2015-10-171-2/+0
* `where` raises ArgumentError on unsupported types.Jake Worth2015-10-161-0/+6
* Fix AC::Parameters not being sanitized for query methods.Guo Xiang Tan2015-10-021-0/+26
* Respect custom primary keys for associations in `Relation#where`Sean Griffin2015-02-041-1/+37
* Fix bind value copying from subqueried relationsSean Griffin2015-01-191-0/+8
* Properly copy nested bind values from subqueried relationsSean Griffin2015-01-091-9/+21
* Remove deprecated behavior allowing nested arrays as query valuesMelanie Gilman2014-12-041-6/+0
* Fix test which failed in isolationSean Griffin2014-11-011-0/+1
* Fix query with nested array in Active RecordCristian Bica2014-09-061-1/+3
* Add a test case of nested empty array values in conditionsJean Boussier2014-08-171-0/+4
* Fixed AR::Relation#where edge case with Hash and other RelationBogdan Gusiev2014-08-141-0/+9
* active_record: Type cast booleans and durations for string columns.Dylan Thacker-Smith2014-07-061-1/+32
* Better support for `where()` conditions that use an association name.Martin Emde2013-12-161-0/+34
* Delegate #rewhere to all on the class like all other relation methodsDavid Heinemeier Hansson2013-11-021-0/+4
* check class hierarchy with is_a? in PredicateBuilder.expandMikhail Dieterle2013-08-271-0/+25
* Handle aliased attributes in ActiveRecord::Relation.Godfrey Chan2013-05-011-0/+8
* Revert "Merge pull request #9207 from dylanahsmith/mysql-quote-numeric"Steve Klabnik2013-02-271-25/+0
* Reverting e170014113 (Change behaviour with empty hash in where clause)Guillermo Iguaran2013-02-081-6/+2
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-3/+1
* Change behaviour with empty array in where clauserobertomiranda2013-02-081-1/+3
* Change behaviour with empty hash in where clauserobertomiranda2013-02-081-2/+6
* active_record: Quote numeric values compared to string columns.Dylan Smith2013-02-071-0/+25
* reduce the number of queries on IN clauses, fix relation queries in `where`Aaron Patterson2013-01-241-1/+14
* Fix syntax error and remove duplicated testCarlos Antonio da Silva2013-01-081-6/+4
* * Strip nils from collections on JSON and XML posts. [CVE-2013-0155] * dealin...Aaron Patterson2013-01-081-0/+6
* Revert "Merge branch 'master-sec'"Jeremy Kemper2013-01-081-6/+0
* * Strip nils from collections on JSON and XML posts. [CVE-2013-0155] * dealin...Aaron Patterson2013-01-071-0/+6
* Move where with blank conditions test to the correct where tests fileCarlos Antonio da Silva2012-12-071-0/+6
* fix querying with an empty hashDamien Mathieu2012-09-191-1/+10
* Fix nested association referencesJon Leighton2012-09-121-38/+31
* Accept belongs_to assoc. keys in ActiveRecord queriesbeerlington2012-09-111-1/+69