aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* #create_or_find_by/!: add more tests and fix docs (#34653)Bogdan2018-12-081-2/+2
* Fix join table column quoting with SQLite.Gannon McGibbon2018-12-051-0/+4
* option to disable scopes that `ActiveRecord.enum` generates by defaultAlfred Dominic2018-12-041-2/+5
* Merge pull request #34609 from kamipo/delete_all_on_collection_proxyRyuta Kamizono2018-12-042-0/+3
|\
| * Ensure that `delete_all` on collection proxy returns affected countRyuta Kamizono2018-12-042-0/+3
* | Reset scope after collection deleteGannon McGibbon2018-12-041-4/+4
|/
* Merge pull request #34602 from guizmaii/masterRafael França2018-12-031-1/+2
|\
| * Pass the `connection` to the `@instrumenter.instrument` method calljules Ivanic2018-12-031-1/+2
* | Address "warning: shadowing outer local variable - parts"Ryuta Kamizono2018-12-034-7/+8
|/
* Clarify no support for non PK id columnsGannon McGibbon2018-11-301-5/+6
* Add ability to prevent writes to a databaseEileen Uchitelle2018-11-305-1/+64
* Merge pull request #34572 from kamipo/fix_scoping_with_query_methodRyuta Kamizono2018-11-301-1/+1
|\
| * Fix the scoping with query methods in the scope blockRyuta Kamizono2018-11-301-1/+1
* | Use the full link URL instead of bit.ly [ci skip]Ryuta Kamizono2018-11-301-1/+2
* | Allow aliased attributes in updateGannon McGibbon2018-11-291-3/+7
* | Merge pull request #34562 from ruralocity/active-record-query-docs-improvementRafael França2018-11-281-7/+9
|\ \
| * | Improve ActiveRecord::Querying documentation [ci skip]Aaron Sumner2018-11-281-7/+9
* | | Allow spaces in postgres table namesGannon McGibbon2018-11-281-1/+1
|/ /
* | Merge pull request #34557 from sergioisidoro/sergio-patch-load-errorRafael França2018-11-281-2/+2
|\ \
| * | Patch load error in case GemSpecErrorsergioisidoro2018-11-281-2/+2
* | | Merge pull request #33835 from schneems/schneems/faster_cache_versionSean Griffin2018-11-271-2/+50
|\ \ \
| * | | Prefer String#ljust over String#<< for paddinglsylvester2018-10-171-3/+2
| * | | Do not silently fail to generate a cache_versionschneems2018-10-171-6/+11
| * | | Use raw time string from DB to generate ActiveRecord#cache_versionschneems2018-10-171-2/+46
* | | | Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributesRafael França2018-11-271-1/+2
|\ \ \ \ | |_|_|/ |/| | |
| * | | Cached columns_hash fields should be excluded from ResultSet#column_typesDmitryTsepelev2018-11-271-1/+2
* | | | Revert "Merge pull request #34538 from bogdan/reuse-find-target"Ryuta Kamizono2018-11-283-23/+28
* | | | Merge pull request #34538 from bogdan/reuse-find-targetEileen M. Uchitelle2018-11-273-29/+23
|\ \ \ \ | |/ / / |/| | |
| * | | Reuse code in AR::Association#find_targetBogdan Gusiev2018-11-273-29/+23
* | | | Merge pull request #34480 from tekin/configurable-implicit-ordering-columnEileen M. Uchitelle2018-11-272-2/+18
|\ \ \ \
| * | | | Make implicit order column configurableTekin Suleyman2018-11-262-2/+18
* | | | | Revert "We still need the `Helpers` constant in the `ActiveRecord` namespace"Ryuta Kamizono2018-11-271-1/+0
* | | | | `Mutable` helper is in `ActiveModel`Ryuta Kamizono2018-11-274-4/+4
|/ / / /
* | | | Merge pull request #34520 from yahonda/bump_pg93Rafael França2018-11-262-19/+17
|\ \ \ \
| * | | | Bump the minimum version of PostgreSQL to 9.3Yasuo Honda2018-11-252-19/+17
| |/ / /
* / / / When running exec_query MySQL always returns ActiveRecord::ResultAlireza Bashiri2018-11-251-2/+10
|/ / /
* | | Raises error when attempting to modify enum valuesebyrds2018-11-231-0/+1
* | | Merge pull request #34468 from gmcgibbon/redact_sql_in_errorsRafael França2018-11-235-44/+48
|\ \ \
| * | | Redact SQL in errorsGannon McGibbon2018-11-225-44/+48
* | | | Use squiggly heredoc to strip odd indentation in the executed SQLRyuta Kamizono2018-11-226-22/+22
|/ / /
* | | Fixing an issue when parsing an opclass by allowing indexed columnThomas Bianchini2018-11-211-1/+1
* | | Merge pull request #34491 from rails/fix-query-cache-on-multiple-connectionsEileen M. Uchitelle2018-11-211-4/+11
|\ \ \
| * | | Fix query cache for multiple connectionsEileen Uchitelle2018-11-201-4/+11
* | | | Make connection handler per thread instead of per fiberEileen Uchitelle2018-11-201-2/+2
|/ / /
* | | Merge pull request #33954 from febeling/inconsistent-assignment-has-many-thro...Aaron Patterson2018-11-203-3/+33
|\ \ \
| * | | Optimize difference and intersectionFlorian Ebeling2018-11-061-17/+9
| * | | Rename union to intersectionFlorian Ebeling2018-11-063-3/+3
| * | | Fix handling of duplicates for `replace` on has_many-throughFlorian Ebeling2018-11-063-3/+41
* | | | Merge pull request #34453 from bogdanvlviv/exercise-connected_to-and-connects_toAaron Patterson2018-11-191-1/+1
|\ \ \ \
| * | | | Exercise `connected_to` and `connects_to` methodsbogdanvlviv2018-11-151-1/+1