aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* 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
* Extract `Relation#update_counters` for internal useRyuta Kamizono2018-07-304-34/+27
* Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into StringBart de Water2018-07-281-1/+1
* Fix test failures due to Performance/RegexpMatch correctionBart de Water2018-07-281-1/+3
* Enable Start/EndWith and RegexpMatch copsBart de Water2018-07-282-2/+2
* Don't expose configuration for a test.Kasper Timm Hansen2018-07-281-21/+9
* Avoid logging ActiveRecord::LogSubscriber as the query source when the source...lsylvester2018-07-281-12/+9
* PostgreSQL 10 new relkind for partitioned tables (#31336)Yannick Schutz2018-07-271-2/+2
* Merge pull request #32381 from q-centrix/update-codeclimate-configsRichard Schneeman2018-07-256-18/+6
|\
| * Turn on performance based copsDillon Welch2018-07-236-18/+6
* | Normalize time value not to be affected by summer timeRyuta Kamizono2018-07-251-0/+1
* | Merge pull request #33229 from albertoalmagro/albertoalmagro/prefer-rails-com...Matthew Draper2018-07-252-7/+7
|\ \
| * | Substitute references to task for commandAlberto Almagro2018-07-061-1/+1
| * | Recommend use of rails over bin/railsAlberto Almagro2018-07-062-6/+6
* | | Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
| |/ |/|
* | 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