aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Expand)AuthorAgeFilesLines
* Prevent making bind param if casted value is nilRyuta Kamizono2017-05-311-1/+5
* Merge pull request #29003 from kamipo/delegate_ast_and_locked_to_arel_explicitlyMatthew Draper2017-05-281-1/+1
|\
| * Delegate `ast` and `locked` to `arel` explicitlyRyuta Kamizono2017-05-061-1/+1
* | Remove unused `left_joins_values` generationRyuta Kamizono2017-05-231-1/+1
|/
* Remove unused `DelegationTest#call_method`Ryuta Kamizono2017-05-061-27/+7
* Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`Ryuta Kamizono2017-05-042-18/+10
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-272-3/+3
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-262-3/+3
* Replace \Z to \zRyuta Kamizono2017-04-241-1/+1
* Add a test case for #20802Ryuta Kamizono2017-04-131-0/+5
* Remove duplicated "test" prefixRyuta Kamizono2017-04-071-1/+1
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-262-3/+3
* Simply delegate `as_json` to `records`Ryuta Kamizono2017-03-101-1/+1
* Delegate `to_sentence` and `to_fomatted_s` to `records`kenta-s2017-02-041-1/+2
* class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-131-1/+1
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-032-3/+3
* Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-032-3/+3
|\
| * Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-032-3/+3
* | Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-17/+1
* | assert_equal takes expectation firstAkira Matsuda2016-12-261-1/+1
|/
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-6/+6
* improve error message when include assertions failMichael Grosser2016-09-162-4/+4
* 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
* Add three new rubocop rulesRafael Mendonça França2016-08-163-4/+4
* Use `ActiveRecord::TestCase` rather than `ActiveSupport::TestCase` in AR test...Ryuta Kamizono2016-08-111-1/+1
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-062-10/+10
* modernizes hash syntax in activerecordXavier Noria2016-08-063-17/+17
* applies new string literal convention in activerecord/testXavier Noria2016-08-069-121/+121
* No need `public_send`Ryuta Kamizono2016-07-171-2/+2
* Add missing test case for record_fetched_greater_than configPrathamesh Sonpatki2016-04-111-11/+23
* Merge pull request #22365 from phuibonhoa/phuibonhoa/polymorphic_where_multip...Sean Griffin2016-02-171-1/+13
|\
| * Fixed `where` for polymorphic associations when passed an array containing di...Philippe Huibonhoa2016-02-161-1/+13
* | Show proper error message when a non-relation object is passed to AR::Relatio...Prathamesh Sonpatki2016-02-171-0/+6
|/
* Typos in AR testsAkira Matsuda2016-02-041-2/+2
* Defer Arel attribute lookup to the model classMatthew Draper2016-02-041-0/+4
* Properly include the `from` clause when merging relationsSean Griffin2016-01-141-0/+7
* Improve error message for #or when it is structurally incompatibleRafael Mendonça França2016-01-131-1/+3
* Revert "Change `WhereClause#merge` to same named columns on diff tables"Sean Griffin2016-01-121-15/+2
* Change `WhereClause#merge` to same named columns on diff tablesSean Griffin2016-01-121-2/+15
* Ensure `Relation` responds to `shuffle`Sean Griffin2015-12-011-1/+1
* Remove blanket array delegation from `Relation`Sean Griffin2015-11-231-6/+0
* Define `sanitize_sql_for_order` for AR and use it inside `preprocess_order_args`yui-knk2015-11-021-0/+4
* Alias left_joins to left_outer_joinsTakashi Kokubun2015-10-311-1/+1
* 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
* Removed mocha from Active Record Part 2Ronak Jangir2015-09-161-3/+4