aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Fixes #33610Darwin D Wu2018-09-111-7/+18
* Merge pull request #33825 from bogdanvlviv/follow-up-33637-and-33770Eileen M. Uchitelle2018-09-092-6/+6
|\
| * Fix `ActiveRecord::DatabaseConfigurations`'s docsbogdanvlviv2018-09-092-6/+6
* | Consistently use `visitor.compile`Ryuta Kamizono2018-09-091-3/+3
* | Use `visitor.compile` instead of constructing by connection itselfRyuta Kamizono2018-09-093-7/+3
* | `supports_xxx?` returns whether a feature is supported by the backendRyuta Kamizono2018-09-084-3/+7
|/
* Configuration item `config.filter_parameters` could also filter out sensitive...Zhang Kang2018-09-072-2/+24
* Merge pull request #33809 from fidalgo/improve-remove-column-documentationRichard Schneeman2018-09-061-0/+1
|\
| * [ci skip] Improve remove_column documentationPaulo Fidalgo2018-09-061-0/+1
* | Deprecate most methods which were never used in `DatabaseLimits`Ryuta Kamizono2018-09-051-0/+9
* | Remove unused blockEileen Uchitelle2018-09-041-1/+1
* | Merge pull request #33673 from tgxworld/regression_setting_children_record_in...Ryuta Kamizono2018-09-031-5/+5
|\ \
| * | Fix regression setting children record in parent before_save callback.Guo Xiang Tan2018-09-031-5/+5
* | | Remove unused splat args in `_create_record`Ryuta Kamizono2018-09-022-3/+2
* | | [ci skip] Change some comments to conform to the style used in other commentsSharang Dashputre2018-09-013-6/+6
* | | Merge pull request #33770 from eileencodes/multi-db-improvements-part-3Eileen M. Uchitelle2018-09-018-23/+62
|\ \ \ | |/ / |/| |
| * | Convert configs_for to kwargs, add include_replicasEileen Uchitelle2018-08-316-23/+46
| * | Add replica? check to DatabaseConfigEileen Uchitelle2018-08-313-0/+12
| * | Add config option for `replica`.Eileen Uchitelle2018-08-311-0/+4
* | | 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