aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* handle passing in primary key to unique_by, and handle primary keys missing i...Lachlan Sylvester2019-08-052-2/+22
* Merge pull request #36845 from eileencodes/fix-pg-closed-connectionEileen M. Uchitelle2019-08-041-6/+11
|\
| * Fix `PG::ConnectionBad` error when running fixtureseileencodes2019-08-021-6/+11
* | Address `DEPRECATED: Use assert_nil if expecting nil`Yasuo Honda2019-08-031-2/+2
|/
* Add ability to unset preventing writeseileencodes2019-08-023-7/+43
* Merge pull request #36814 from eileencodes/introduce-invalid-configuration-errorEileen M. Uchitelle2019-08-022-3/+23
|\
| * Introduce InvalidConfigurationErroreileencodes2019-08-012-3/+23
* | 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-022-3/+13
|/
* No private defRafael Mendonça França2019-08-011-1/+2
* It may be better to explicitly require 'object/try' where we call `try`Akira Matsuda2019-08-013-0/+4
* Use `try` only when we're unsure if the receiver would respond_to the methodAkira Matsuda2019-08-016-6/+6
* Merge pull request #36827 from akshaymohite/fix-documentation-typo-in-exampleVipul A M2019-08-011-1/+1
|\
| * Fixed a typo in documentation example of activerecord database configuration....Akshay Mohite2019-08-011-1/+1
* | Fix db:seedeileencodes2019-07-311-0/+2
|/
* Address to rubocop offencesRyuta Kamizono2019-07-311-1/+1
* Reduce Array allocationsAkira Matsuda2019-07-311-2/+2
* Merge pull request #36708 from rails/has-one-polymorphic-touch-dont-cache-ass...Kasper Timm Hansen2019-07-315-12/+37
|\
| * Polymorphic has_one touch: Reset association cache result after create transa...Kasper Timm Hansen2019-07-315-12/+37
* | fix a typoyamato-payforward2019-07-311-1/+1
* | Accessing ivar with Symbols might be just a very little bit better than with ...Akira Matsuda2019-07-311-5/+5
* | Merge pull request #36805 from kamipo/user_supplied_joins_order_should_be_pre...Ryuta Kamizono2019-07-303-24/+65
|\ \
| * | Preserve user supplied joins order as much as possibleRyuta Kamizono2019-07-303-24/+65
* | | Add `silence_warnings` for defining 'not_' prefix enum elementsRyuta Kamizono2019-07-301-1/+3
|/ /
* | Merge pull request #36782 from jhawthorn/move_database_exists_to_adapterJohn Hawthorn2019-07-298-18/+13
|\ \
| * | Move DatabaseAlreadyExists detection to DB adapterJohn Hawthorn2019-07-298-18/+13
* | | Expand CHANGELOG for #36800 [ci skip]Ryuta Kamizono2019-07-301-2/+2
|/ /
* | Enabled matches_regex for MySqlJames Pearson2019-07-293-0/+58
* | Use match? where we don't need MatchDataAkira Matsuda2019-07-293-3/+3
* | 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-276-5/+111
|\ \ \
| * | | Allow specify fixtures to be ignoredTongfei Gao2019-07-276-5/+111
| |/ /
* | | Update links to new MySQL server errors reference page [ci skip]Carlos Antonio da Silva2019-07-272-2/+2
* | | 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-276-6/+6
* | Merge pull request #36773 from seejohnrun/db-configuration-separate-env-varsEileen M. Uchitelle2019-07-263-7/+45
|\ \
| * | Allow separate database env variables per-connectionJohn Crepezzi2019-07-263-7/+45
| |/
* | Merge pull request #36776 from giraffate/fix_join_middle_table_alias_when_usi...Rafael França2019-07-262-3/+10
|\ \
| * | Fix join middle table alias when using HABTMTakayuki Nakata2019-07-262-3/+10
* | | Merge pull request #36372 from instructure-bridge/6-0-stableRafael França2019-07-262-8/+21
| |/ |/|
* | Only merge DATABASE_URL settings into the current envJohn Crepezzi2019-07-252-18/+36
* | Merge pull request #36766 from jhawthorn/call_connection_error_numberJohn Hawthorn2019-07-252-4/+9
|\ \
| * | Use connection.error_number in MySQLDatabaseTasksJohn Hawthorn2019-07-252-4/+9
* | | Merge pull request #36380 from edudepetris/ed/36272-better-negative-scope-war...Rafael Mendonça França2019-07-253-0/+39
|\ \ \ | |/ / |/| |
| * | Add a warning for enum elements with 'not_' prefix.Edu Depetris2019-06-303-0/+39