aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* 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-121-9/+21
* Add AR::Base.connected_to?John Hawthorn2018-12-111-0/+11
* An empty transaction does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-0/+10
* Merge pull request #34666 from vinistock/upgrade_rubocop_and_fix_offensesRafael França2018-12-101-23/+23
|\
| * Upgrade Rubocop to 0.61.1 and fix offensesVinicius Stock2018-12-101-23/+23
* | An explain query does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-0/+8
* | Don't treat begin and rollback transactions as write queriesRyuta Kamizono2018-12-112-3/+14
|/
* Prevent write queries for `exec_query`Ryuta Kamizono2018-12-111-0/+37
* Merge pull request #34632 from rails/rename-write-on-read-errorEileen M. Uchitelle2018-12-074-14/+14
|\
| * Rename error that occurs when writing on a readEileen Uchitelle2018-12-074-14/+14
* | #create_or_find_by/!: add more tests and fix docs (#34653)Bogdan2018-12-081-0/+39
|/
* Fix join table column quoting with SQLite.Gannon McGibbon2018-12-051-0/+4
* 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-041-0/+9
* | Merge pull request #34609 from kamipo/delete_all_on_collection_proxyRyuta Kamizono2018-12-042-6/+16
|\ \
| * | Ensure that `delete_all` on collection proxy returns affected countRyuta Kamizono2018-12-042-6/+16
* | | Reset scope after collection deleteGannon McGibbon2018-12-042-0/+64
|/ /
* | Fix NumericData.average test on ruby 2.6Abdallah Samman2018-12-031-2/+6
* | Assigned but unused variable - birdutilum2018-12-031-1/+1
* | Add ability to prevent writes to a databaseEileen Uchitelle2018-11-304-0/+206
* | Merge pull request #34572 from kamipo/fix_scoping_with_query_methodRyuta Kamizono2018-11-302-1/+7
|\ \
| * | Fix the scoping with query methods in the scope blockRyuta Kamizono2018-11-302-1/+7
* | | Allow aliased attributes in updateGannon McGibbon2018-11-291-0/+6
* | | Allow spaces in postgres table namesGannon McGibbon2018-11-281-0/+5
| |/ |/|
* | Merge pull request #33835 from schneems/schneems/faster_cache_versionSean Griffin2018-11-271-2/+80
|\ \
| * | Do not silently fail to generate a cache_versionschneems2018-10-171-0/+8
| * | Use raw time string from DB to generate ActiveRecord#cache_versionschneems2018-10-171-2/+72
* | | Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributesRafael França2018-11-273-0/+26
|\ \ \ | |_|/ |/| |
| * | Cached columns_hash fields should be excluded from ResultSet#column_typesDmitryTsepelev2018-11-273-0/+26
* | | More exercise singular association queryRyuta Kamizono2018-11-284-7/+14
* | | Ensure that singular association should execute limited queryRyuta Kamizono2018-11-282-5/+12
|/ /
* | Make implicit order column configurableTekin Suleyman2018-11-261-0/+10
* | Merge pull request #34520 from yahonda/bump_pg93Rafael França2018-11-265-383/+361
|\ \
| * | Bump the minimum version of PostgreSQL to 9.3Yasuo Honda2018-11-255-383/+361
* | | Merge pull request #34521 from azbshiri/mysql-exec-query-resultEileen M. Uchitelle2018-11-261-0/+5
|\ \ \
| * | | When running exec_query MySQL always returns ActiveRecord::ResultAlireza Bashiri2018-11-251-0/+5
| |/ /
* | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2018-11-261-2/+2
* | | SQLite 3.7.16+ returns the order of the primary key columnsYasuo Honda2018-11-251-2/+0
|/ /
* | Raises error when attempting to modify enum valuesebyrds2018-11-231-0/+14
* | Merge pull request #34468 from gmcgibbon/redact_sql_in_errorsRafael França2018-11-233-14/+44
|\ \
| * | Redact SQL in errorsGannon McGibbon2018-11-223-14/+44
* | | Use squiggly heredoc to strip odd indentation in the executed SQLRyuta Kamizono2018-11-2213-69/+59
|/ /
* | Fixing an issue when parsing an opclass by allowing indexed columnThomas Bianchini2018-11-211-0/+12
* | Merge pull request #34491 from rails/fix-query-cache-on-multiple-connectionsEileen M. Uchitelle2018-11-211-0/+16
|\ \
| * | Fix query cache for multiple connectionsEileen Uchitelle2018-11-201-0/+16
* | | Make connection handler per thread instead of per fiberEileen Uchitelle2018-11-201-0/+37
|/ /
* | Merge pull request #33954 from febeling/inconsistent-assignment-has-many-thro...Aaron Patterson2018-11-201-0/+10
|\ \