aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Add test case for ce48b5a366482d4b4c4c053e1e39e79d71987197Ryuta Kamizono2018-12-181-0/+7
* Enable `Layout/SpaceAfterSemicolon` cop to avoid newly adding odd spacingRyuta Kamizono2018-12-131-3/+3
* Ensure that preventing writes is invoked before `materialize_transactions` co...Ryuta Kamizono2018-12-122-13/+23
* Add AR::Base.connected_to?John Hawthorn2018-12-112-0/+34
* An empty transaction does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-114-3/+13
* Merge pull request #34666 from vinistock/upgrade_rubocop_and_fix_offensesRafael França2018-12-103-59/+59
|\
| * Upgrade Rubocop to 0.61.1 and fix offensesVinicius Stock2018-12-103-59/+59
* | An explain query does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-114-3/+11
* | Don't treat begin and rollback transactions as write queriesRyuta Kamizono2018-12-115-6/+17
|/
* Prevent write queries with prepared statements for mysql2 adapterRyuta Kamizono2018-12-111-0/+4
* Prevent write queries for `exec_query`Ryuta Kamizono2018-12-113-1/+46
* Merge pull request #34632 from rails/rename-write-on-read-errorEileen M. Uchitelle2018-12-078-17/+21
|\
| * Rename error that occurs when writing on a readEileen Uchitelle2018-12-078-17/+21
* | #create_or_find_by/!: add more tests and fix docs (#34653)Bogdan2018-12-082-2/+41
|/
* Fix join table column quoting with SQLite.Gannon McGibbon2018-12-053-0/+12
* Fix unstable `test_serialized_attribute_works_under_concurrent_initial_access...yuuji.yaginuma2018-12-051-1/+1
* Merge pull request #34560 from gmcgibbon/fix_decorate_leak_on_serial_attr_testRafael França2018-12-041-0/+4
|\
| * Fix attribute decoration leak on serialized attribute testGannon McGibbon2018-11-291-0/+4
* | option to disable scopes that `ActiveRecord.enum` generates by defaultAlfred Dominic2018-12-043-2/+18
* | Merge pull request #34609 from kamipo/delete_all_on_collection_proxyRyuta Kamizono2018-12-045-6/+23
|\ \
| * | Ensure that `delete_all` on collection proxy returns affected countRyuta Kamizono2018-12-045-6/+23
* | | Reset scope after collection deleteGannon McGibbon2018-12-044-4/+72
|/ /
* | 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
* | | Merge pull request #34601 from evexoio/34600-test_should_return_nil_as_averageRyuta Kamizono2018-12-031-2/+6
|\ \ \
| * | | Fix NumericData.average test on ruby 2.6Abdallah Samman2018-12-031-2/+6
| |/ /
* / / Address "warning: shadowing outer local variable - parts"Ryuta Kamizono2018-12-034-7/+8
|/ /
* | Assigned but unused variable - birdutilum2018-12-031-1/+1
* | Clarify no support for non PK id columnsGannon McGibbon2018-11-301-5/+6
* | Add ability to prevent writes to a databaseEileen Uchitelle2018-11-3010-1/+286
* | Merge pull request #34572 from kamipo/fix_scoping_with_query_methodRyuta Kamizono2018-11-303-2/+8
|\ \
| * | Fix the scoping with query methods in the scope blockRyuta Kamizono2018-11-303-2/+8
* | | Use the full link URL instead of bit.ly [ci skip]Ryuta Kamizono2018-11-301-1/+2
* | | Allow aliased attributes in updateGannon McGibbon2018-11-293-3/+17
* | | 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-283-1/+12
|/ /
* | 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-272-4/+130
|\ \ \
| * | | Prefer String#ljust over String#<< for paddinglsylvester2018-10-171-3/+2
| * | | Do not silently fail to generate a cache_versionschneems2018-10-172-6/+19
| * | | Use raw time string from DB to generate ActiveRecord#cache_versionschneems2018-10-172-4/+118
* | | | Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributesRafael França2018-11-275-1/+57
|\ \ \ \ | |_|_|/ |/| | |
| * | | Cached columns_hash fields should be excluded from ResultSet#column_typesDmitryTsepelev2018-11-275-1/+57
* | | | More exercise singular association queryRyuta Kamizono2018-11-284-7/+14
* | | | Ensure that singular association should execute limited queryRyuta Kamizono2018-11-282-5/+12
* | | | 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