aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Address CI failure due to non-deterministic query resultRyuta Kamizono2018-05-061-1/+1
* Fix logic on disabling commit callbacksBrian Durand2018-05-043-1/+25
* Remove unused `assert_like` from `Arel::Test`Yasuo Honda2018-05-021-5/+0
* Remove unnecessary requireyuuji.yaginuma2018-05-021-1/+0
* Merge pull request #32784 from jpawlyn/allow-belongs-to-create-for-new-recordRyuta Kamizono2018-05-023-4/+17
|\
| * Allow a belonging to object to be created from a new recordJolyon Pawlyn2018-05-013-4/+17
* | More exercise `test_remove_named_index`Ryuta Kamizono2018-05-021-1/+4
* | Fix typo in ActiveRecord test method nameTakayoshi Nishida2018-05-021-1/+1
* | `require "active_support/test_case"` is not supported since 53e877f7Ryuta Kamizono2018-05-022-2/+2
|/
* Make `Arel::Test` subclass of `ActiveSupport::TestCase`Yasuo Honda2018-05-018-73/+84
* Restore original merging order to enforce `if_exists: true`Ryuta Kamizono2018-04-291-2/+1
* Fix `Associations::ClassMethods` doc [ci skip]Ryuta Kamizono2018-04-291-7/+7
* Merge pull request #32727 from utilum/assert_dont_expectsRafael França2018-04-277-147/+248
|\
| * assert_called_withutilum2018-04-264-85/+170
| * assert_calledutilum2018-04-264-28/+31
| * assert_not_calledutilum2018-04-263-34/+47
* | Ensure that `ids_reader` respects dirty target whether target is loaded or notRyuta Kamizono2018-04-272-3/+5
* | Merge pull request #32617 from tgturner/size-should-use-available-associationRyuta Kamizono2018-04-273-1/+82
|\ \
| * | Loaded associations should not run a new query when size is calledGraham Turner2018-04-263-1/+82
* | | Add test case that assigning belongs_to on destroyed object raises frozen errorRyuta Kamizono2018-04-271-0/+7
|/ /
* / Remove math module from countNikolai B2018-04-251-2/+0
|/
* `get_value` needs to be a public methodGraham Turner2018-04-253-4/+15
* Address `NameError: uninitialized constant Arel::Collectors::Bind`Yasuo Honda2018-04-251-0/+1
* Merge pull request #32097 from matthewd/arelMatthew Draper2018-04-25144-2/+11379
|\
| * Arel: :nodoc: allMatthew Draper2018-02-2481-81/+81
| * Arel: rubocop -aMatthew Draper2018-02-24142-3074/+3179
| * Merge Arel into Active RecordMatthew Draper2018-02-24144-2/+11274
* | Merge pull request #32646 from derekprior/dp-schema-dumper-documentationSean Griffin2018-04-241-5/+5
|\ \
| * | Update schema.rb documentation [CI SKIP]Derek Prior2018-04-241-5/+5
* | | `columns` is cached in the statementRyuta Kamizono2018-04-241-6/+3
* | | Save a hash allocation in MySQL statement poolEugene Kenny2018-04-232-5/+2
* | | Using existing models for building multiple has_one through testsRyuta Kamizono2018-04-227-54/+15
* | | Merge pull request #32514 from samdec/multiple-has-one-through-associations-b...Ryuta Kamizono2018-04-227-1/+64
|\ \ \
| * | | Fix .new with multiple through associationsSam DeCesare2018-04-097-1/+64
* | | | `target` in `CollectionAssociation` is always an arrayRyuta Kamizono2018-04-211-2/+2
* | | | Add test case for `collection.size` with dirty targetRyuta Kamizono2018-04-211-0/+10
* | | | Fix typo in the `touch_all` doc [ci skip]Ryuta Kamizono2018-04-211-4/+4
* | | | Merge pull request #32674 from composerinteralia/relax-assertionRyuta Kamizono2018-04-211-2/+2
|\ \ \ \
| * | | | Relax assertions in connection config testsDaniel Colson2018-04-201-2/+2
* | | | | Can preload associations through polymorphic associationsDana Sherson2018-04-204-10/+51
* | | | | Merge pull request #31513 from fatkodima/relation-touch_allRafael França2018-04-204-11/+101
|\ \ \ \ \
| * | | | | Add `touch_all` method to `ActiveRecord::Relation`fatkodima2018-04-134-11/+101
* | | | | | Merge pull request #32667 from yahonda/mod_empty_insert_statement_valueRafael França2018-04-203-3/+3
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Allow `primary_key` argument to `empty_insert_statement_value`Yasuo Honda2018-04-203-3/+3
* | | | | | Merge pull request #32650 from bogdanvlviv/return_back_slash_and_use___dir__Rafael França2018-04-191-1/+1
|\ \ \ \ \ \
| * | | | | | Return back "/" to the end of RAILS_GEM_ROOTbogdanvlviv2018-04-201-1/+1
* | | | | | | Don't expose `Relation#preload_associations` in the docRyuta Kamizono2018-04-201-1/+1
* | | | | | | Use assert_no_match for test_order_to_unscope_reorderingYasuo Honda2018-04-201-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #32645 from maneframe/skip_query_cache_mergeRafael Mendonça França2018-04-192-2/+6
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix relation merging with skip_query_cache!James Williams2018-04-193-3/+11
| | |_|/ / | |/| | |