aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Fix that `touch(:updated_at)` causes multiple assignments on the columnRyuta Kamizono2018-03-231-0/+10
* Add `QueryingMethodsDelegationTest` to cover query methods delegationRyuta Kamizono2018-03-221-0/+28
* Fix failing `QuotingTest#test_quoted_time_utc`bogdanvlviv2018-03-191-2/+2
* Merge pull request #32271 from eileencodes/fix-three-tier-default-connectionEileen M. Uchitelle2018-03-161-0/+48
|\
| * Fix connection handling with three-tier configeileencodes2018-03-161-0/+48
* | Fix multiline expression indexes for postgresql (#31621)fatkodima2018-03-161-1/+1
* | Merge pull request #31250 from lsylvester/only-preload-misses-on-multifetch-c...Kasper Timm Hansen2018-03-151-1/+6
|\ \
| * | Only preload misses on multifetch cacheLachlan Sylvester2018-03-061-1/+6
* | | Ensure that leading date is stripped by quoted_timeAndrew White2018-03-111-3/+36
* | | Normalize date component when writing to time columnsAndrew White2018-03-111-0/+7
* | | Apply time column precision on assignmentAndrew White2018-03-112-0/+36
| |/ |/|
* | Add `delegate :pick, to: :all`Yuji Hanamura2018-03-091-0/+5
* | Fix dependence on has_one/belongs_to relationshipsFernando Gorodscy2018-03-062-0/+48
|/
* whitelist NULLS { FIRST | LAST } in order clausesXavier Noria2018-03-061-0/+20
* Fix that after commit callbacks on update does not triggered when optimistic ...Ryuta Kamizono2018-03-061-0/+22
* `id_in_database` should be respected as primary key value for persisted recordsRyuta Kamizono2018-03-051-0/+39
* Fix occurrences Fixnum|Bignumbogdanvlviv2018-03-042-14/+6
* Eager loading with polymorphic associations should behave consistentlyRyuta Kamizono2018-03-041-2/+4
* Extract all `base_class.name` as `polymorphic_name`Ryuta Kamizono2018-03-041-9/+23
* Remove unnecessary `respond_to?(:report_on_exception)` checkingyuuji.yaginuma2018-03-023-6/+6
* 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-261-0/+10
|\ \
| * | Make `reflection.klass` raise if `polymorphic?` not to be misusedRyuta Kamizono2018-02-191-0/+10
* | | 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-181-0/+7
* | | Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-1712-58/+35
* | | 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