aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Use `with_partial_writes` helper in `activerecord/test/cases/dirty_test.rb`bogdanvlviv2018-02-281-5/+1
* Fix `#columsn_for_distinct` of MySQL and PostgreSQLkg8m2018-02-273-15/+20
* Merge pull request #32005 from maschwenk/ar-distinct-order-count-regressionRyuta Kamizono2018-02-272-0/+12
|\
| * Distinct with order #count regressionMax Schwenk2018-02-251-0/+8
* | Merge pull request #31189 from tgxworld/raise_error_when_advisory_lock_is_not...Rafael França2018-02-271-0/+19
|\ \
| * | Raise an error if advisory lock in migrator was not released.Guo Xiang Tan2017-11-211-0/+19
* | | Ensure we don't write virtual attributes on update, tooSean Griffin2018-02-261-1/+4
* | | Never attempt to write virtual attributes to the databaseSean Griffin2018-02-261-0/+19
* | | Fix "NameError: uninitialized constant Categorization::Category"yuuji.yaginuma2018-02-261-0/+1
| |/ |/|
* | Merge pull request #31895 from kamipo/do_not_attempt_to_find_inverse_of_polym...Ryuta Kamizono2018-02-265-0/+17
|\ \
| * | Make `reflection.klass` raise if `polymorphic?` not to be misusedRyuta Kamizono2018-02-195-0/+17
* | | Association creation and finding should work consistently (#32048)Ryuta Kamizono2018-02-261-5/+35
* | | More exercise range predicate builderRyuta Kamizono2018-02-231-0/+9
* | | PostgreSQL: Allow BC dates like datetime consistentlyRyuta Kamizono2018-02-231-0/+18
* | | PostgreSQL: Treat infinite values in date like datetime consistentlyRyuta Kamizono2018-02-232-0/+63
* | | Revert "Merge pull request #32075 from eileencodes/delete-default-configuration"eileencodes2018-02-221-0/+16
* | | Properly escape column name embedded into regexpAndreas Bühmann2018-02-221-1/+1
* | | Add cop for preferring 'Foo.method' over 'Foo::method'Andrew White2018-02-221-1/+1
* | | Merge pull request #32075 from eileencodes/delete-default-configurationEileen M. Uchitelle2018-02-211-16/+0
|\ \ \
| * | | Delete default configurationeileencodes2018-02-211-16/+0
* | | | Use the query cache when connection is already connectedyuuji.yaginuma2018-02-191-0/+11
| |/ / |/| |
* | | Association scope's own order should be prioritized over through scope's orderRyuta Kamizono2018-02-182-1/+9
* | | Clean up and consolidate .gitignoresbogdanvlviv2018-02-172-2/+0
* | | Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-1713-60/+37
* | | Add chop removed in 89bcca5Rafael Mendonça França2018-02-161-1/+1
* | | Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-164-45/+43
|/ /
* | 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