aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Fix documentation based on feedbackAaron Patterson2018-06-262-3/+7
* define attribute methods in `init_from_db`Aaron Patterson2018-06-261-0/+2
* Merge branch 'master' into homogeneous-allocationAaron Patterson2018-06-264-20/+7
|\
| * Call initialize after allocateAaron Patterson2018-06-262-18/+0
| * Remove `ActiveSupport::Concern` from `ActiveRecord::Aggregations`Ryuta Kamizono2018-06-261-2/+0
| * Add example for no_touching? in active_record/no_touching for api docs [ci skip]Michael Munroe2018-06-251-0/+7
* | Speed up homogeneous AR lists / reduce allocationsAaron Patterson2018-06-255-2/+43
|/
* Lazily add `Aggregations` to `composed_of` modelsAaron Patterson2018-06-252-1/+5
* `references(:developers_projects_join)` isn't needed if using `where` with ha...Ryuta Kamizono2018-06-261-16/+2
* Use `reflection.alias_candidate` in `table_alias_for`Ryuta Kamizono2018-06-261-1/+1
* Fix formatting of `primary_key` [ci skip]yuuji.yaginuma2018-06-241-2/+2
* OS X -> macOS [Closes #30313]Xavier Noria2018-06-231-1/+1
* Add missing test case for `find` with a large numberRyuta Kamizono2018-06-221-0/+6
* Remove all `aliases` passing from `JoinDependency`Ryuta Kamizono2018-06-201-2/+2
* Remove useless `aliases` argument from `JoinDependency#construct`Ryuta Kamizono2018-06-201-5/+5
* Remove unused `rs` argument from `JoinDependency#construct`Ryuta Kamizono2018-06-201-5/+5
* Merge pull request #33074 from lsylvester/optimize-pluckRafael França2018-06-192-5/+26
|\
| * Avoid creating temporary arrays in ActiveRecord::Result#cast_values in order ...Lachlan Sylvester2018-06-192-5/+26
* | Merge pull request #33158 from bogdan/cleanup-habtm-builderRyuta Kamizono2018-06-191-37/+16
|\ \
| * | Removed useless utility classes inside HABTM association builderBogdan Gusiev2018-06-191-37/+16
| |/
* / Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-1910-90/+135
|/
* Merge pull request #33147 from nsgc/add-api-document-about-migration-methodsRyuta Kamizono2018-06-181-0/+5
|\
| * Add docs for ActiveRecord::Migration#say, #say_with_time, #suppress_messages ...Naoki Nishiguchi2018-06-181-0/+5
* | Fix `touch` option to behave consistently with `Persistence#touch` methodRyuta Kamizono2018-06-1810-51/+98
|/
* Merge pull request #29373 from untidy-hair/store_accessor_enhanceRyuta Kamizono2018-06-135-7/+61
|\
| * Update prefix and allow suffix options for store accessorsYukio Mizuta2018-06-124-5/+59
* | Add ability to configure cache notifications infoEileen Uchitelle2018-06-122-7/+37
* | Don't use `target=`Rafael Mendonça França2018-06-112-2/+2
* | Use `-=` to change the update the collection on the associationRafael Mendonça França2018-06-112-3/+2
* | Merge pull request #29939 from arthurchui/activerecord-delete-associations-loopRafael Mendonça França2018-06-111-1/+2
|\ \
| * | Use hash lookup for deleting existing associations from `target`Arthur Chui2017-07-251-1/+2
* | | Fix alias confliction when joining same table on has many through with left_j...Ryuta Kamizono2018-06-112-1/+5
* | | :scissors:Ryuta Kamizono2018-06-101-1/+1
* | | Fix GROUP BY queries to apply LIMIT/OFFSET after aggregationsRyuta Kamizono2018-06-072-1/+19
* | | Fix `collection.create` to could be rolled back by `after_save`Ryuta Kamizono2018-06-073-3/+30
* | | Reuse existing model for testing duplicated children recordsRyuta Kamizono2018-06-073-19/+13
* | | Merge pull request #33067 from kamipo/fix_force_equalityRafael França2018-06-063-1/+11
|\ \ \
| * | | Fix force equality checking not to break the serialized attribute with ArrayRyuta Kamizono2018-06-063-1/+11
* | | | Child joins should be aliased when merging relationsChalo Fernandez2018-06-062-2/+27
|/ / /
* | | Merge pull request #33051 from SamSaffron/masterMatthew Draper2018-06-062-2/+2
|\ \ \
| * | | PERF: avoid allocating column names where possibleSam2018-06-062-2/+2
* | | | Merge pull request #33029 from fedxgibson/raise_with_duplicate_columnsEileen M. Uchitelle2018-06-043-2/+23
|\ \ \ \
| * | | | Migrations will raise an exception if there are multiple column definitions (...Federico Martinez2018-06-013-2/+23
| |/ / /
* | | | Initialization block is a part of `build_record`Ryuta Kamizono2018-06-047-14/+22
* | | | Fix `save` in `after_create_commit` won't invoke extra `after_create_commit`Ryuta Kamizono2018-06-042-10/+25
* | | | `record.destroy` on new record won't invoke after create commit callbacksRyuta Kamizono2018-06-032-1/+9
|/ / /
* | | Merge pull request #33018 from kddeisz/defined-attachmentsRafael França2018-06-011-24/+28
|\ \ \
| * | | Ensure reflection_class_for is privateKevin Deisz2018-05-311-24/+27
| * | | Move ActiveStorage reflection logic entirely into ActiveStorageKevin Deisz2018-05-311-44/+2
| * | | Reflection for attachmentsKevin Deisz2018-05-301-17/+60