aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Add #create_or_find_by to lean on unique constraints (#31989)David Heinemeier Hansson2018-02-141-0/+29
* Add test to make sure pick works in a NullRelationRafael Mendonça França2018-02-121-0/+2
* Merge pull request #31133 from mohsen-alizadeh/sanitize_empty_and_nil_paramet...Matthew Draper2018-02-111-0/+15
|\
| * add test case to relation selectMohsen Alizadeh2017-12-031-0/+15
* | Add Relation#pick as short-hand for single-value plucks (#31941)David Heinemeier Hansson2018-02-091-0/+10
* | Merge pull request #31934 from fatkodima/fix-has_many_through-dumpingRyuta Kamizono2018-02-091-0/+5
|\ \
| * | Fix marshaling of models with `has_many :through` associationsfatkodima2018-02-081-0/+6
* | | Fix `test_counter_cache_with_touch_and_lock_version` failurebogdanvlviv2018-02-071-1/+3
|/ /
* | Invoke `load_schema` in `_default_attributes`Ryuta Kamizono2018-02-061-0/+7
* | Merge pull request #31814 from fatkodima/index-nulls-orderRafael França2018-01-292-0/+34
|\ \
| * | Dump correctly index nulls order for postgresqlfatkodima2018-01-282-0/+34
* | | Deprecate `expand_hash_conditions_for_aggregates`Ryuta Kamizono2018-01-291-0/+7
* | | Remove unused/missing `to_money` converter in the test/docRyuta Kamizono2018-01-291-1/+1
* | | Merge pull request #31615 from cben/type_for_attribute-symbolRyuta Kamizono2018-01-291-0/+14
|\ \ \
| * | | Allow type_for_attribute(:symbol)Beni Cherniavsky-Paskin2018-01-011-0/+14
* | | | Fix expanding an array of `composed_of` objects which have multiple mappingsRyuta Kamizono2018-01-292-5/+15
* | | | Merge pull request #31724 from orekyuu/fix-expand-composed-object-arrayRyuta Kamizono2018-01-291-0/+18
|\ \ \ \ | |_|/ / |/| | |
| * | | Allow expanding an array of `composed_of` objectsRyuta Kamizono2018-01-291-3/+2
| * | | Fix not expanded problem when passing an Array object as argument to the wher...orekyuu2018-01-261-0/+19
* | | | Remove extra whitespaceDaniel Colson2018-01-258-46/+46
* | | | Use assert_empty and assert_not_emptyDaniel Colson2018-01-2527-127/+127
* | | | Use assert_predicate and assert_not_predicateDaniel Colson2018-01-2596-1142/+1142
* | | | Change refute to assert_notDaniel Colson2018-01-2512-32/+32
* | | | Use respond_to test helpersDaniel Colson2018-01-2515-74/+74
* | | | Bring back ability to insert zero value on primary key for fixtures (#31795)Ryuta Kamizono2018-01-262-20/+14
|/ / /
* | | Add test case for deprecated `insert_fixtures`Ryuta Kamizono2018-01-261-2/+16
* | | Remove unused `test/fixtures/teapots.yml`Ryuta Kamizono2018-01-251-3/+0
* | | Fix `count(:all)` with eager loading and having an order other than the drivi...Ryuta Kamizono2018-01-252-1/+13
* | | Clear the transaction state when AR object is dupedYuriy Ustushenko2018-01-251-0/+16
* | | Merge pull request #31784 from composerinteralia/relation-signatureRafael França2018-01-246-29/+49
|\ \ \
| * | | Avoid passing unnecessary arguments to relationDaniel Colson2018-01-246-29/+49
* | | | Skip test that use fork in the memory store dbRafael Mendonça França2018-01-241-32/+34
|/ / /
* | | Make discard safe when it follows a manual disconnectMatthew Draper2018-01-251-0/+40
* | | Merge pull request #31773 from dinahshi/postgresql_bulk_patchMatthew Draper2018-01-241-2/+3
|\ \ \
| * | | Use concat to join procs arrays in bulk_change_tableDinah Shi2018-01-231-2/+3
* | | | Merge pull request #31422 from Edouard-chin/multistatement-fixturesMatthew Draper2018-01-242-1/+121
|\ \ \ \
| * | | | Allow a 2 bytes margin:Edouard CHIN2018-01-231-3/+5
| * | | | Build a multi-statement query when inserting fixtures:Edouard CHIN2018-01-222-1/+119
* | | | | Merge pull request #31549 from fatkodima/foreign_tablesRyuta Kamizono2018-01-231-0/+109
|\ \ \ \ \
| * | | | | Support for PostgreSQL foreign tablesfatkodima2018-01-221-0/+109
* | | | | | Fix building has_one through recordRyuta Kamizono2018-01-231-0/+12
|/ / / / /
* | | | | Ignores a default subclass when `becomes(Parent)`Leonel Galan2018-01-221-0/+16
* | | | | Merge pull request #31710 from eugeneius/indestructible_through_recordRyuta Kamizono2018-01-225-4/+23
|\ \ \ \ \
| * | | | | Don't update counter cache when through record was not destroyedEugene Kenny2018-01-145-4/+23
* | | | | | Restore `test_migrations_status_with_schema_define_in_subdirectories`Ryuta Kamizono2018-01-191-7/+11
|/ / / / /
* | | | | Merge pull request #31663 from Edouard-chin/remove-without-sql-modeRafael França2018-01-181-0/+22
|\ \ \ \ \
| * | | | | Added a test around `NO_AUTO_VALUE_ON_ZERO`:Edouard CHIN2018-01-171-0/+22
* | | | | | Refactor migration to move migrations paths to connectioneileencodes2018-01-186-165/+234
* | | | | | Fix relation merger issue with `left_outer_joins`Mehmet Emin INAC2018-01-151-0/+6
* | | | | | Don't allow destroyed object mutation after `save` or `save!` is calledRyuta Kamizono2018-01-151-2/+24