aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Just delegate `update` with ids on a relation to `klass.update`Ryuta Kamizono2018-08-311-2/+6
* Merge pull request #33637 from eileencodes/ar-connection-management-refactoringEileen M. Uchitelle2018-08-3011-166/+376
|\
| * Refactors Active Record connection managementEileen Uchitelle2018-08-3011-166/+376
* | Merge pull request #33759 from schneems/schneems/move-variable-out-of-loopRichard Schneeman2018-08-301-2/+2
|\ \
| * | Do not recompute lengthschneems2018-08-301-2/+2
| |/
* | Refactor `attributes_for_{create,update}` to avoid an extra allocationRyuta Kamizono2018-08-312-4/+4
* | Remove `attributes_with_values_for_{create,update}` for internal useRyuta Kamizono2018-08-302-10/+5
* | Remove extra `& self.class.column_names` in `keys_for_partial_write`Ryuta Kamizono2018-08-301-6/+6
* | Merge pull request #33729 from kddeisz/plural-automatic-inverseRafael França2018-08-291-5/+15
|\ \ | |/ |/|
| * Find inverse associations with plural namesKevin Deisz2018-08-271-5/+15
* | Merge pull request #33744 from bogdanvlviv/fixes-27852Ryuta Kamizono2018-08-301-1/+1
|\ \
| * | Prevent leaking of user's DB credentials on `rails db:create` failurebogdanvlviv2018-08-291-1/+1
* | | Merge pull request #33748 from eileencodes/fix-erb-loading-issue-with-db-yamlEileen M. Uchitelle2018-08-291-1/+1
|\ \ \ | |/ / |/| |
| * | Drop load_database_yaml and fix testEileen Uchitelle2018-08-291-1/+1
* | | Merge pull request #33718 from kddeisz/permit-listMatthew Draper2018-08-294-13/+15
|\ \ \ | |/ / |/| |
| * | Permit list usage cleanup and clearer documentationKevin Deisz2018-08-274-11/+13
| * | Convert remaining usage of whitelist and blacklistKevin Deisz2018-08-241-2/+2
| * | Convert over the rest of the whitelist referencesKevin Deisz2018-08-244-11/+11
| |/
* | Mutation tracker should be cleared before continuing around callbacksYuya Tanaka2018-08-281-5/+6
* | Add documentation for `:collation` column option (#33733)Nate Pinsky2018-08-271-0/+3
|/
* Merge pull request #31696 from BrentWheeldon/bmw-connection-pool-load-deadlockMatthew Draper2018-08-241-1/+3
|\
| * Prevent deadlocks when waiting for connection from pool.Brent Wheeldon2018-03-231-1/+3
* | Merge pull request #32647 from eugeneius/lazy_transactionsMatthew Draper2018-08-239-14/+103
|\ \
| * | Omit BEGIN/COMMIT statements for empty transactionsEugene Kenny2018-08-139-14/+103
* | | Partly revert unused accessorRyuta Kamizono2018-08-231-8/+1
* | | Add database configuration to disable advisory locks.Guo Xiang Tan2018-08-223-3/+14
* | | Fix merging relation that order including `?`Ryuta Kamizono2018-08-211-2/+2
* | | SQLite3: Fix rename reference column not to lose foreign key constraintRyuta Kamizono2018-08-201-11/+15
* | | Enable Style/ParenthesesAroundCondition copRyuta Kamizono2018-08-191-1/+1
* | | Merge pull request #33585 from yahonda/diag33520Ryuta Kamizono2018-08-161-1/+9
|\ \ \
| * | | SQLite3 adapter `alter_table` method restores foreign keysYasuo Honda2018-08-111-1/+9
* | | | Merge pull request #33499 from lsylvester/caller-ignore-pathsKasper Timm Hansen2018-08-152-9/+9
|\ \ \ \
| * | | | Use backtrace cleaner to clean up backtrace for verbose query logsLachlan Sylvester2018-08-142-9/+9
| | |/ / | |/| |
* | | | Fix bulk change table ignores comment option on PostgreSQL.Yoshiyuki Kinjo2018-08-151-1/+5
* | | | Follow up #33530bogdanvlviv2018-08-151-3/+3
* | | | Merge pull request #33530 from jychen7/33515-invert-remove-foreign-keyRichard Schneeman2018-08-142-4/+24
|\ \ \ \
| * | | | Allow `to_table` in `invert_remove_foreign_key`Rich2018-08-142-4/+24
| |/ / /
* / / / Use `Array#extract!` where possiblebogdanvlviv2018-08-142-8/+12
|/ / /
* / / Use strings instead of symbols on calls to decorate_matching_attribute_typesDillon Welch2018-08-102-2/+2
|/ /
* | Merge pull request #33454 from azbshiri/extend-affects-nested-attributesRichard Schneeman2018-08-041-1/+1
|\ \
| * | Call build when extend with nested attributes definedAlireza Bashiri2018-08-021-1/+1
* | | Merge pull request #33511 from albertoalmagro/change-references-from-rake-to-...Richard Schneeman2018-08-043-4/+4
|\ \ \
| * | | [ci skip] Change references from Rake task to Rails commandAlberto Almagro2018-08-013-4/+4
* | | | `retrieve_connection_pool` return a pool, not a connectionRyuta Kamizono2018-08-031-2/+2
| |/ / |/| |
* | | don't establish connection test_database since it gets established in load_sc...Britni Alexander2018-08-011-1/+0
|/ /
* | use load_schema instead of migrate for parallel testingBritni Alexander2018-07-312-6/+9
* | Revert "Merge pull request #24131 from brchristian/limit_and_primary_key"Ryuta Kamizono2018-08-011-1/+1
* | Avoid extra scoping when using `Relation#update`Ryuta Kamizono2018-07-312-3/+5
* | MySQL: Raise ActiveRecord::InvalidForeignKey for foreign-key constraint viola...George Claghorn2018-07-302-2/+4
* | Extract `Relation#bind_attribute` for internal useRyuta Kamizono2018-07-302-8/+11