aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Remove ignored_sql from SQLCounter by adding "TRANSACTION" to log nameYasuo Honda2019-05-082-11/+3
* Should attempt `committed!`/`rolledback!` to all enrolled records in the tran...Ryuta Kamizono2019-05-071-5/+51
* Remove redundant `test_too_many_binds`Yasuo Honda2019-05-031-20/+0
* Namespace association extension modules under the owner modelJean Boussier2019-05-022-10/+10
* Make scope arity check consistent (#36134)Rob Trame2019-05-012-0/+19
* Remove database specific sql statements from SQLCounterYasuo Honda2019-05-013-19/+7
* Should take the record's state of first action in the transactionRyuta Kamizono2019-04-301-0/+2
* Fix merging left_joins to maintain its own `join_type` contextRyuta Kamizono2019-04-272-0/+5
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-244-19/+25
|\
| * Assert deprecationlulalala2019-03-311-2/+2
| * Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-312-12/+16
| * Fix spec as generate_message is no longer called during validationlulalala2019-03-311-0/+2
| * Fix misalignment caused by SHA eebb9ddf9ba559a510975c486fe59a4edc9da97dlulalala2019-03-311-5/+5
* | Merge pull request #35869 from abhaynikam/35866-add-touch-option-for-has-one-...Ryuta Kamizono2019-04-253-2/+43
|\ \
| * | Adds touch option to has_one associationAbhay Nikam2019-04-253-2/+43
* | | Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-241-2/+2
* | | Fix sliced IN clauses to be groupedRyuta Kamizono2019-04-246-46/+25
|/ /
* | Make association builder methods privateRyuta Kamizono2019-04-241-1/+1
* | Merge pull request #36029 from kamipo/deprecate_where_notRyuta Kamizono2019-04-232-6/+51
|\ \
| * | Deprecate `where.not` working as NOR and will be changed to NAND in Rails 6.1Ryuta Kamizono2019-04-192-6/+51
* | | PERF: 20% faster pk attribute accessRyuta Kamizono2019-04-221-0/+8
* | | Revert "Deprecate `collection_cache_key` which is private API"Ryuta Kamizono2019-04-191-3/+1
* | | Deprecate `collection_cache_key` which is private APIRyuta Kamizono2019-04-191-1/+3
* | | Merge pull request #34788 from gsamokovarov/actionable-errorsKasper Timm Hansen2019-04-191-2/+4
|\ \ \
| * | | Make ActiveRecord::PendingMigrationError actionableGenadi Samokovarov2019-04-191-2/+4
| |/ /
* | | Fix const `Post` leakage in `test/cases/base_test.rb`Ryuta Kamizono2019-04-191-0/+2
* | | Give GeneratedRelationMethods module a nameRyuta Kamizono2019-04-192-2/+12
|/ /
* | Merge pull request #35987 from kamipo/fix_dirty_tracking_after_rollbackRyuta Kamizono2019-04-171-0/+59
|\ \
| * | Fix dirty tracking after rollback.Ryuta Kamizono2019-04-161-0/+59
* | | Add collection cache versioningLachlan Sylvester2019-04-161-0/+34
* | | Merge pull request #35946 from alimi/cache-full-mysql-database-versionKasper Timm Hansen2019-04-161-0/+4
|\ \ \
| * | | Cache full MySQL version in schema cacheAli Ibrahim2019-04-111-0/+4
* | | | Bump RuboCop to 0.67.2Koichi ITO2019-04-161-2/+2
| |/ / |/| |
* | | Merge pull request #35899 from eileencodes/fix-connection-when-handler-doesnt...Eileen M. Uchitelle2019-04-151-7/+34
|\ \ \
| * | | Ensure a handler is set when using `connected_to`eileencodes2019-04-081-7/+34
* | | | Fix dirty tracking for `touch`Ryuta Kamizono2019-04-152-4/+21
* | | | Merge pull request #35970 from yskkin/reversible_commentRyuta Kamizono2019-04-153-0/+122
|\ \ \ \
| * | | | make change_column_comment and change_table_comment invertibleYoshiyuki Kinjo2019-04-153-0/+122
* | | | | Don't expose `add_to_transaction`Ryuta Kamizono2019-04-142-4/+4
|/ / / /
* | | | Merge pull request #35966 from shioyama/define_validator_on_topic_subclassRyuta Kamizono2019-04-141-5/+7
|\ \ \ \
| * | | | Add validation to subclass in tests to avoid polluting parent classChris Salzberg2019-04-131-5/+7
* | | | | Merge pull request #35958 from yskkin/bulk_change_tableRyuta Kamizono2019-04-141-7/+17
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | use PostgreSQL's bulk_alter_table implementationYoshiyuki Kinjo2019-04-131-7/+17
* | | | | Auto-correct `Style/StringLiterals` cop offencesRyuta Kamizono2019-04-131-4/+4
* | | | | Fix `presicion` -> `precision`yuuji.yaginuma2019-04-132-6/+6
* | | | | Fix test flakyness due to `test_truncate_tables`Guilherme Mansur2019-04-121-0/+16
|/ / / /
* | | | Merge pull request #35918 from kamipo/lazy_sync_with_transaction_state_on_des...Ryuta Kamizono2019-04-121-6/+8
|\ \ \ \
| * | | | Lazy sync with transaction state on destroyRyuta Kamizono2019-04-101-6/+8
| | |/ / | |/| |
* | | | Merge pull request #35920 from kamipo/dont_call_commit_callbacks_for_invalid_...Ryuta Kamizono2019-04-122-4/+26
|\ \ \ \
| * | | | Don't call after_commit callbacks despite a record isn't savedRyuta Kamizono2019-04-122-4/+26