aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Fix circular `autosave: true`Larry Reid2018-07-231-2/+6
* Merge pull request #33415 from orhantoy/feature/docs-consistent-hash-syntaxGeorge Claghorn2018-07-221-8/+8
|\
| * [ci skip] Use consistent hash syntax in AR docsOrhan Toy2018-07-221-8/+8
* | [ci skip] Tidy up formatting of examplesOrhan Toy2018-07-221-12/+3
|/
* don't impose primary key order if limit() is definedBrian Christian2018-07-191-1/+1
* Avoid extra scoping in delegating to klass methods in the `scope` blockRyuta Kamizono2018-07-191-2/+2
* Fix `insert_fixtures_set` to be restored original connection flagsRyuta Kamizono2018-07-192-29/+36
* Revert "Short circuit the scoping delegation for `relation.all`"Ryuta Kamizono2018-07-191-1/+0
* Merge pull request #33363 from ahorek/transaction_bugRafael França2018-07-181-5/+23
|\
| * use set_server_option if possiblepavel2018-07-151-5/+23
* | Implement change() to convert to "2001-01-01" firstSean Prashad2018-07-171-0/+1
|/
* Merge pull request #28327 from rngtng/add-seed-dependencyRafael França2018-07-111-1/+1
|\
| * Add missing load config dependency to `rake db:seed`Tobias Bielohlawek2018-07-101-1/+1
* | Avoid unneeded expanded column aliases array cachingRyuta Kamizono2018-07-102-8/+5
|/
* SQLite: Don't leak internal schema objectsRyuta Kamizono2018-07-092-4/+5
* Fix default value for mysql time types with specified precisionNikolay Kondratyev2018-07-041-2/+2
* Use `construct_join_dependency` in all placesRyuta Kamizono2018-07-033-13/+6
* Don't extract `readonly_value` each timeRyuta Kamizono2018-07-032-5/+7
* Don't share seen object cache between different join nodes in eager loadingRyuta Kamizono2018-07-031-2/+2
* Merge pull request #33242 from brasic/sqlite-readonlyRyuta Kamizono2018-07-031-1/+3
|\
| * Support readonly option in SQLite3AdapterCarl Brasic2018-07-021-1/+3
|/
* 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-263-7/+7
|\
| * Call initialize after allocateAaron Patterson2018-06-261-5/+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-254-2/+38
|/
* Lazily add `Aggregations` to `composed_of` modelsAaron Patterson2018-06-252-1/+5
* 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
* 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-191-5/+14
|\
| * Avoid creating temporary arrays in ActiveRecord::Result#cast_values in order ...Lachlan Sylvester2018-06-191-5/+14
* | 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-197-85/+80
|/
* 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-183-24/+25
|/
* Merge pull request #29373 from untidy-hair/store_accessor_enhanceRyuta Kamizono2018-06-131-5/+21
|\
| * Update prefix and allow suffix options for store accessorsYukio Mizuta2018-06-121-5/+21
* | Add ability to configure cache notifications infoEileen Uchitelle2018-06-121-6/+14
* | Don't use `target=`Rafael Mendonça França2018-06-111-1/+1
* | Use `-=` to change the update the collection on the associationRafael Mendonça França2018-06-111-2/+1
* | 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-111-1/+1