aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #33853 from yahonda/use_utf8mb4_only_if_availableJeremy Daer2018-09-131-3/+15
|\
| * Drop MySQL 5.1 supportYasuo Honda2018-09-131-2/+2
| * Raise an exception if :charset is not specified and large prefixes / utf8mb4 ...Yasuo Honda2018-09-131-1/+1
| * Validate if `utf8mb4` character set and longer index key prefix is supportedYasuo Honda2018-09-131-1/+13
* | Merge pull request #33844 from kamipo/too_many_eager_load_idsRyuta Kamizono2018-09-132-5/+10
|\ \ | |/ |/|
| * Eager loading/preloading should be worked regardless of large number of recordsRyuta Kamizono2018-09-122-5/+10
* | Add mention about `ActiveRecord::Base::filter_attributes` to the changelog entrybogdanvlviv2018-09-121-6/+6
* | Build string set when `filter_attributes` is assignedbogdanvlviv2018-09-121-6/+17
* | DRY `activerecord/lib/active_record/core.rb` and fix testsbogdanvlviv2018-09-121-6/+9
* | Clarify docs of `config.filter_parameters` and `#filter_attributes`bogdanvlviv2018-09-121-1/+1
* | Fix query cache to load before first requestEileen Uchitelle2018-09-121-3/+1
* | Use utf8mb4 character set by default for MySQL database (#33608)Yasuo Honda2018-09-111-2/+2
|/
* Don't expose `instantiate_instance_of` for internal useRyuta Kamizono2018-09-111-11/+7
* Refactor object creation from relation to avoid pushing scope attributesRyuta Kamizono2018-09-112-24/+7
* Don't expose `current_scope` for internal useRyuta Kamizono2018-09-112-16/+15
* Move `scoping` handling into klass level from relationRyuta Kamizono2018-09-112-5/+9
* Remove redundant `all.scoping`Ryuta Kamizono2018-09-111-4/+2
* 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