aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Prevent changes_to_save from mutating attributesEugene Kenny2018-04-081-0/+8
* Make Mocha setup explcitly Minitest-specificJames Mead2018-04-071-1/+1
* Merge pull request #32355 from kamipo/delegate_to_klass_in_a_scopeRafael França2018-04-062-0/+15
|\
| * Deprecate accessibility of private/protected class methods in named scopeRyuta Kamizono2018-03-302-2/+10
| * Bring back private class methods accessibility in named scopeRyuta Kamizono2018-03-271-1/+8
* | Merge pull request #32441 from composerinteralia/refute-notRafael França2018-04-049-16/+16
|\ \
| * | Autocorrect `refute` RuboCop violationsDaniel Colson2018-04-039-16/+16
* | | Merge pull request #32414 from bogdan/query-cache-optimizationRafael França2018-04-041-1/+2
|\ \ \
| * | | Optimize the code inside AR::QueryCache middlewareBogdan Gusiev2018-04-041-1/+2
* | | | Add AR::Base.base_class? predicateBogdan Gusiev2018-04-022-1/+10
| |/ / |/| |
* | | Remove leftover blank sqlite3 file after in memory handler tests.utilum2018-04-011-0/+2
* | | Fix two-level database configurations with URLsEugene Kenny2018-03-311-10/+52
|/ /
* | Fix intermittent CI failure due to setting explicit `person.id = 10`Ryuta Kamizono2018-03-301-4/+0
* | Merge pull request #32338 from eugeneius/dont_clobber_foreign_keyRyuta Kamizono2018-03-301-0/+2
|\ \
| * | Don't unset foreign key when preloading missing recordEugene Kenny2018-03-241-0/+2
* | | Merge pull request #30956 from CJStadler/with-lock-changed-deprecationRafael França2018-03-283-0/+23
* | | Merge pull request #32299 from davidstosik/expose-fk-ignore-patternGuillermo Iguaran2018-03-271-0/+11
|\ \ \ | |_|/ |/| |
| * | Move fk_ignore_pattern from config.active_record to SchemaDumperDavid Stosik2018-03-221-1/+4
| * | Test config.active_record.fk_ignore_patternDavid Stosik2018-03-201-0/+8
* | | Merge pull request #32274 from eileencodes/part-1-add-rake-tasks-for-multi-dbEileen M. Uchitelle2018-03-261-1/+128
|\ \ \ | |_|/ |/| |
| * | Add tests for new rake taskseileencodes2018-03-211-1/+128
| |/
* | Merge pull request #32306 from danhuynhdev/feature/store-accessor-prefixAndrew White2018-03-243-1/+26
|\ \
| * | Add custom prefix to ActiveRecord::Store accessorsTan Huynh2018-03-233-1/+26
* | | 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-162-2/+2
* | 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-044-16/+8
* 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