aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Don't pass unused `connection` to `FixtureSet.new`Ryuta Kamizono2018-11-031-9/+9
* Checking boundable not only `IN` clause but also `NOT IN` clauseRyuta Kamizono2018-11-031-0/+4
* `update_columns` raises if the column is unknownSean Griffin2018-10-301-0/+6
* Merge pull request #19388 from yakara-ltd/fix-habtm-fixture-orderRyuta Kamizono2018-10-301-0/+4
|\
| * Avoid violating key constraints in fixture HABTM associationsJames Le Cuirot2018-10-291-0/+4
* | Merge pull request #34196 from gmcgibbon/connection_switch_string_nameEileen M. Uchitelle2018-10-301-0/+39
|\ \
| * | Add support for hash and url configs in connected_toGannon McGibbon2018-10-261-0/+39
* | | Exercise HABTM fixtures with foreign key constraintsRyuta Kamizono2018-10-302-45/+52
| |/ |/|
* | `exists?` with string argument is not invalid typeRyuta Kamizono2018-10-271-5/+13
* | `create_table` with `:primary_key` option has no effect if `id: false` is givenRyuta Kamizono2018-10-273-8/+6
* | Ignore empty condition on #construct_relation_for_existsr7kamura2018-10-271-0/+4
|/
* Merge pull request #34208 from yskkin/inspect_with_parameter_filterRyuta Kamizono2018-10-261-2/+54
|\
| * Implement AR#inspect using ParamterFilter.Yoshiyuki Kinjo2018-10-191-2/+54
* | Merge pull request #34307 from kamipo/mysql_expression_supportRyuta Kamizono2018-10-265-3/+25
|\ \
| * | Support default expression for MySQLRyuta Kamizono2018-10-253-0/+19
| * | Support expression indexes for MySQLRyuta Kamizono2018-10-252-3/+6
* | | Partly revert #31819bogdanvlviv2018-10-261-26/+0
* | | `assert_called_with` should require `args` argumentbogdanvlviv2018-10-251-1/+1
* | | Deterministic connection collation in testsRyuta Kamizono2018-10-251-0/+1
|/ /
* | Lazy checking whether or not values in IN clause are boundableRyuta Kamizono2018-10-244-5/+6
* | Add regression test against habtm memoized singular_idsAlberto Almagro2018-10-161-0/+12
* | Fix Collection cache key with limit and custom select (PG:AmbigousColumn: Error)Federico Martinez2018-10-151-0/+14
* | Ensure to test that `project.developers` is ordered by `developers.name desc`Ryuta Kamizono2018-10-151-1/+1
|/
* Basic API for connection switchingEileen Uchitelle2018-10-101-0/+193
* Raise on invalid definition valuesAlberto Almagro2018-10-101-0/+11
* Merge pull request #34122 from kamipo/generate_relation_methodsRyuta Kamizono2018-10-104-5/+27
|\
| * Generate delegation methods to named scope in the definition timeRyuta Kamizono2018-10-094-5/+27
* | Merge pull request #34094 from christophemaximin/fix-activerecord-clearing-of...Ryuta Kamizono2018-10-103-0/+89
|\ \
| * | Clear QueryCache when reloading associationsChristophe Maximin2018-10-103-0/+89
* | | Call `load_schema` before `assert_no_queries`Ryuta Kamizono2018-10-101-0/+1
* | | Merge pull request #34081 from gmcgibbon/db_migrate_status_moveEileen M. Uchitelle2018-10-091-1/+23
|\ \ \ | |_|/ |/| |
| * | Move db:migrate:status to DatabaseTasks methodGannon McGibbon2018-10-081-1/+23
* | | Call `define_attribute_methods` before `assert_no_queries` to address CI flak...Ryuta Kamizono2018-10-095-9/+80
|/ /
* | Fix test name to add missing "set"Ryuta Kamizono2018-10-081-1/+1
* | Fix `AssociationRelation` not to set inverse instance key just like beforeRyuta Kamizono2018-10-071-0/+12
* | add test for cache_version precisionLachlan Sylvester2018-10-071-31/+55
* | Exercise stringify of database configurationsbogdanvlviv2018-10-051-0/+5
|/
* Remove `ignore_none: false` to assert no queries more strictlyRyuta Kamizono2018-10-057-31/+31
* Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-0513-38/+37
* failing test for eager loadingMatt Jones2018-10-041-0/+5
* Merge pull request #33938 from faucct/bugfix/preload_through_no_recordsEileen M. Uchitelle2018-10-041-0/+5
|\
| * ActiveRecord::Associations::Preloader should not fail to preload through miss...Nikita Sokolov2018-10-021-0/+5
* | Escape table name so that it can be used in regular expressionAidan Haran2018-10-041-1/+1
|/
* Merge pull request #23593 from meinac/add_index_option_for_change_tableRyuta Kamizono2018-10-011-0/+8
|\
| * Index option added for change_table migrationsMehmet Emin INAC2018-09-221-0/+8
* | Handle DELETE with LIMIT in ArelRyuta Kamizono2018-09-301-0/+1
* | `SQLString#compile` is no longer used since 53521a9e39b9d8af4165d7703c36dc905...Ryuta Kamizono2018-09-301-11/+5
* | Remove `visit_Fixnum` and `visit_Bignum`Ryuta Kamizono2018-09-301-1/+1
* | Make `test_initialize_with_invalid_attribute` work correctlyyuuji.yaginuma2018-09-301-4/+6
* | Bugfix ActiveRecord::Relation#merge special case of from clauseBogdan Gusiev2018-09-281-0/+4