aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Use `capture_sql` instead of `assert_sql` with no patternRyuta Kamizono2019-05-223-15/+12
* Give up filling schema cache before `assert_no_queries`Ryuta Kamizono2019-05-226-90/+24
* Fall back to type casting from the connection adapterRyuta Kamizono2019-05-211-1/+6
* Except SCHEMA SQLs in `capture_sql`Ryuta Kamizono2019-05-211-1/+1
* Implicit through table joins should be appeared before user supplied joinsRyuta Kamizono2019-05-191-0/+8
* Merge pull request #36284 from kamipo/fix_eager_loading_with_string_joinsRyuta Kamizono2019-05-151-0/+11
|\
| * Fix eager loading associations with string joins not to raise NoMethodErrorRyuta Kamizono2019-05-151-0/+11
* | Don't track implicit `touch` mutationRyuta Kamizono2019-05-131-5/+15
* | 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-021-2/+2
* Make scope arity check consistent (#36134)Rob Trame2019-05-011-0/+18
* 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-271-0/+4
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-243-13/+19
|\
| * Assert deprecationlulalala2019-03-311-2/+2
| * Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-311-6/+10
| * 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-251-1/+38
|\ \
| * | Adds touch option to has_one associationAbhay Nikam2019-04-251-1/+38
* | | 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