aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Should test `LegacyPrimaryKeyTest` to both `V5_0` and `V4_2`Ryuta Kamizono2017-10-181-15/+34
* compatibility - use int instead of bigintpavel2017-10-181-0/+3
* Add a test case that eager-loading with a polymorphic association and using `...Ryuta Kamizono2017-10-161-0/+4
* Fix longer sequence name detection for serial columns (#28339)Ryuta Kamizono2017-10-151-0/+32
* MySQL: Don't lose `auto_increment: true` in the `db/schema.rb`Ryuta Kamizono2017-10-151-0/+34
* Fix `COUNT(DISTINCT ...)` for `GROUP BY` with `ORDER BY` and `LIMIT`Ryuta Kamizono2017-10-141-0/+4
* Show the failed queries in `test_has_one_does_not_use_order_by`Ryuta Kamizono2017-10-141-1/+2
* Merge pull request #30836 from shioyama/generated_attribute_methods_include_m...Matthew Draper2017-10-101-0/+5
|\
| * Add test for class of GeneratedAttributeMethods instance in ancestorsChris Salzberg2017-10-091-0/+5
* | Joined tables in association scope doesn't use the same aliases with the pare...Ryuta Kamizono2017-10-092-0/+5
* | All test cases for `exists?` places in `finder_test.rb` to ease to find the t...Ryuta Kamizono2017-10-092-26/+26
* | Fix `relation.exists?` with has_many through associationsRyuta Kamizono2017-10-091-0/+8
* | Distinguish missing adapter gems from load errors within the adapterJeremy Daer2017-10-081-1/+1
|/
* Add JSON attribute test cases for SQLite3 adapterRyuta Kamizono2017-10-052-0/+31
* Ensure `AliasTracker` respects a custom table nameRyuta Kamizono2017-09-301-4/+8
* Add test case for `arel_attribute` with a custom tableRyuta Kamizono2017-09-272-1/+5
* `Postgres::OID::Range` serializes to a `Range`, quote in `Quoting`Thomas Cannon2017-09-262-1/+52
* Remove unused `cached_columns` and `time_related_columns_on_topic` in `Attrib...Ryuta Kamizono2017-09-271-8/+0
* Treat `Set` as an `Array` in `Relation#where`Sean Griffin2017-09-261-0/+13
* Unneeded Mocha stubs for Kernel#systemAkira Matsuda2017-09-251-2/+0
* Adding legacy primary key should be compatibleRyuta Kamizono2017-09-231-0/+51
* Return nil if table comment is blankRyuta Kamizono2017-09-221-1/+1
* Implement change_table_comment and change_column_comment for MySql AdapterAlecs Popa2017-09-221-0/+22
* Merge pull request #24199 from meinac/fix_invert_add_indexRyuta Kamizono2017-09-211-0/+5
|\
| * Use algorithm while removing index with db:rollbackMehmet Emin İNAÇ2017-09-211-0/+5
* | Fix "warning: `*' interpreted as argument prefix"yuuji.yaginuma2017-09-211-5/+5
|/
* Merge pull request #30619 from jagthedrummer/jeremy/instrumentation-payload-n...Eileen M. Uchitelle2017-09-201-0/+72
|\
| * Update payload names for `sql.active_record` to be more descriptive.Jeremy Green2017-09-201-0/+72
* | make create_join_table compatible.Yuki Masutomi2017-09-201-0/+30
* | Merge pull request #26707 from jcoleman/add_attribute_names_cache_busting_specRyuta Kamizono2017-09-181-0/+2
|\ \
| * | Add test validating that Model.attribute_names cache is bustedJames Coleman2016-10-041-0/+2
* | | Fix collided sequence name detectionRyuta Kamizono2017-09-181-0/+36
* | | Ensure returning affected objects for class level `update` and `destroy`Ryuta Kamizono2017-09-181-10/+10
| |/ |/|
* | Remove unused explicit delegation to `klass` in `relation`Ryuta Kamizono2017-09-141-5/+0
* | Don't use `collection.table_name` in `collection_cache_key`Ryuta Kamizono2017-09-141-0/+18
* | Merge pull request #30596 from yahonda/address_test_or_with_bind_params_failureRyuta Kamizono2017-09-141-1/+1
|\ \
| * | Address random `test_or_with_bind_params` failuresYasuo Honda2017-09-131-1/+1
* | | `quoted_table_name` doesn't respect table aliasRyuta Kamizono2017-09-141-0/+11
|/ /
* | Add an extra assertion to ensure dumping schema default as expectedRyuta Kamizono2017-09-081-1/+4
* | Fix `quote_default_expression` for UUID with array defaultRyuta Kamizono2017-09-081-0/+10
* | `has_many :through` with unscope should affect to through scopeRyuta Kamizono2017-09-072-0/+5
* | Should quote composite primary key namesRyuta Kamizono2017-09-041-1/+11
* | Scope in associations should treat nil as `all`Ryuta Kamizono2017-09-041-1/+1
* | Don't expose `find_all_ordered` utility method in testsRyuta Kamizono2017-09-021-4/+5
* | Fix preloading through association with custom scopeRyuta Kamizono2017-09-021-0/+5
* | Add a test case for preloading through association with implicit sourceRyuta Kamizono2017-09-021-0/+8
* | `values[:includes]` in `reflection_scope` is not compatible with `through_scope`Ryuta Kamizono2017-09-021-1/+1
* | sqlite3 adapter returns integer value which used to be stringYasuo Honda2017-09-012-9/+4
* | Merge pull request #29850 from yahonda/test_with_mariadb_102_on_trustyRyuta Kamizono2017-09-011-0/+4
|\ \
| * | Skip `test_remove_column_with_multi_column_index`Yasuo Honda2017-09-011-0/+4