aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* handle passing in primary key to unique_by, and handle primary keys missing i...Lachlan Sylvester2019-08-051-0/+18
* Address `DEPRECATED: Use assert_nil if expecting nil`Yasuo Honda2019-08-031-2/+2
* Add ability to unset preventing writeseileencodes2019-08-021-0/+34
* Merge pull request #36814 from eileencodes/introduce-invalid-configuration-errorEileen M. Uchitelle2019-08-021-0/+16
|\
| * Introduce InvalidConfigurationErroreileencodes2019-08-011-0/+16
* | Revert "MethodCallAssertions is a regular player of the team ActiveSupport::T...Rafael Mendonça França2019-08-021-0/+2
* | Add *_previously_was attribute methods when dirty tracking (#36836)David Heinemeier Hansson2019-08-011-0/+6
* | Merge pull request #36821 from rails/virtual-attribute-typeRyuta Kamizono2019-08-021-0/+84
|\ \
| * | Add tests for selecting aggregatesGodfrey Chan2019-08-011-0/+84
* | | MethodCallAssertions is a regular player of the team ActiveSupport::TestCase nowAkira Matsuda2019-08-021-2/+0
| |/ |/|
* | Deduplicate joins valuesRyuta Kamizono2019-08-021-0/+10
|/
* Use `try` only when we're unsure if the receiver would respond_to the methodAkira Matsuda2019-08-011-1/+1
* Merge pull request #36708 from rails/has-one-polymorphic-touch-dont-cache-ass...Kasper Timm Hansen2019-07-313-0/+26
|\
| * Polymorphic has_one touch: Reset association cache result after create transa...Kasper Timm Hansen2019-07-313-0/+26
* | fix a typoyamato-payforward2019-07-311-1/+1
* | Merge pull request #36805 from kamipo/user_supplied_joins_order_should_be_pre...Ryuta Kamizono2019-07-301-8/+29
|\ \
| * | Preserve user supplied joins order as much as possibleRyuta Kamizono2019-07-301-8/+29
* | | Add `silence_warnings` for defining 'not_' prefix enum elementsRyuta Kamizono2019-07-301-1/+3
|/ /
* | Move DatabaseAlreadyExists detection to DB adapterJohn Hawthorn2019-07-292-5/+3
* | Enabled matches_regex for MySqlJames Pearson2019-07-291-0/+46
* | Use match? where we don't need MatchDataAkira Matsuda2019-07-292-2/+2
* | Merge pull request #36787 from st0012/refactor-sql-testsRyuta Kamizono2019-07-282-8/+2
|\ \
| * | Use capture_sql helper method in testsst00122019-07-282-8/+2
* | | Merge pull request #36303 from gaotongfei/feature/ignore-specified-fixturesRafael França2019-07-273-1/+60
|\ \ \
| * | | Allow specify fixtures to be ignoredTongfei Gao2019-07-273-1/+60
| |/ /
* / / Avoid to use a method that acts on the hashyuuji.yaginuma2019-07-271-1/+1
|/ /
* | Use match? where we don't need MatchDataAkira Matsuda2019-07-272-2/+2
* | Merge pull request #36773 from seejohnrun/db-configuration-separate-env-varsEileen M. Uchitelle2019-07-261-5/+33
|\ \
| * | Allow separate database env variables per-connectionJohn Crepezzi2019-07-261-5/+33
| |/
* | Merge pull request #36776 from giraffate/fix_join_middle_table_alias_when_usi...Rafael França2019-07-261-2/+9
|\ \
| * | Fix join middle table alias when using HABTMTakayuki Nakata2019-07-261-2/+9
* | | Merge pull request #36372 from instructure-bridge/6-0-stableRafael França2019-07-261-5/+8
| |/ |/|
* | Only merge DATABASE_URL settings into the current envJohn Crepezzi2019-07-251-0/+16
* | Merge pull request #36766 from jhawthorn/call_connection_error_numberJohn Hawthorn2019-07-251-3/+8
|\ \
| * | Use connection.error_number in MySQLDatabaseTasksJohn Hawthorn2019-07-251-3/+8
* | | Merge pull request #36380 from edudepetris/ed/36272-better-negative-scope-war...Rafael Mendonça França2019-07-251-0/+22
|\ \ \ | |/ / |/| |
| * | Add a warning for enum elements with 'not_' prefix.Edu Depetris2019-06-301-0/+22
* | | Merge pull request #36740 from stanhu/sh-fix-index-exists-postgresql-partial-...Rafael França2019-07-251-2/+4
|\ \ \ | |_|/ |/| |
| * | Fix index_exists? for PostgreSQL expression indexesStan Hu2019-07-241-2/+4
* | | Merge pull request #36492 from kamipo/remove_depth_first_visitorRyuta Kamizono2019-07-254-306/+7
|\ \ \
| * | | Remove unused `DepthFirst` visitorRyuta Kamizono2019-06-154-306/+7
* | | | Merge pull request #36756 from seejohnrun/env-urls-with-multiple-databasesEileen M. Uchitelle2019-07-241-0/+24
|\ \ \ \
| * | | | Fix multiple database support for DATABASE_URL env variableJohn Crepezzi2019-07-241-0/+24
* | | | | Merge pull request #36671 from wjessop/do_not_validate_non_dirty_association_...Eileen M. Uchitelle2019-07-244-0/+36
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Don't validate non dirty association targetsWill Jessop2019-07-154-0/+36
* | | | | Merge pull request #36665 from jmschneider/masterRafael Mendonça França2019-07-231-0/+4
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Make currency symbols optional for money column type in PostgreSQLJoel Schneider2019-07-121-0/+4
| |/ / /
* | | | [ActiveRecord] Deduplicate optimizer hintsKir Shatrov2019-07-191-0/+7
* | | | Support beginless ranges in hash conditions.Josh Goodall2019-07-171-0/+24
* | | | [ActiveRecord] Superclass for aborted queriesKir Shatrov2019-07-162-2/+5