aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Add missing `touch_all` delegation to relationRyuta Kamizono2019-04-052-1/+33
* Remove duplicated `test_find_last`Ryuta Kamizono2019-04-051-5/+0
* Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-053-2/+15
* Merge pull request #35698 from mtsmfm/output-test-reportMatthew Draper2019-04-041-0/+2
|\
| * Output junit format test reportFumiaki MATSUSHIMA2019-04-041-0/+2
* | Fix `count(:all)` with eager loading and explicit select and orderRyuta Kamizono2019-04-042-0/+12
|/
* Optimizer hints should be applied on Top level query as much as possibleRyuta Kamizono2019-04-042-0/+16
* Don't drop internal metadata tablesRyuta Kamizono2019-04-041-4/+2
* Ensure `reset_table_name` when table name prefix/suffix is changedRyuta Kamizono2019-04-044-17/+15
* Clear query cache when truncate table(s)Ryuta Kamizono2019-04-041-8/+36
* Fix fragile testsRyuta Kamizono2019-04-041-2/+4
* Respect table name prefix/suffix for `truncate_all`Ryuta Kamizono2019-04-042-1/+59
* Merge pull request #35795 from alimi/cache-database-versionEileen M. Uchitelle2019-04-038-11/+34
|\
| * Cache database version in schema cacheAli Ibrahim2019-04-038-11/+34
* | Use official database name [ci skip]Ryuta Kamizono2019-04-031-1/+1
* | Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :...David Heinemeier Hansson2019-04-021-0/+12
|/
* Revert unused code and re-using query annotation for `update_all` and `delete...Ryuta Kamizono2019-04-017-112/+0
* Extract insert test case from #35686Kasper Timm Hansen2019-03-311-0/+14
* Merge pull request #19333 from palkan/dirty-storeKasper Timm Hansen2019-03-312-0/+84
|\
| * Add saved changes helpers for store accessorsVladimir Dementyev2019-03-251-0/+11
| * Add dirty methods for store accessorspalkan2019-03-252-0/+73
* | Fix callbacks on has_many :through associations (#33249)Ryan Kerr2019-03-301-0/+18
* | Add `ActiveRecord::Relation#extract_associated` for extracting associated rec...David Heinemeier Hansson2019-03-291-0/+7
* | Type cast falsy boolean symbols on boolean attribute as falseRyuta Kamizono2019-03-301-0/+9
* | Merge pull request #35496 from bogdan/right-preloadingRyuta Kamizono2019-03-281-0/+9
|\ \
| * | Fix preloader to never reset associations in case they are already loadedBogdan Gusiev2019-03-071-0/+9
* | | Don't change `collation_connection` in the current connectionRyuta Kamizono2019-03-271-1/+1
* | | Fix CI failure due to remaining tagging recordsRyuta Kamizono2019-03-261-1/+1
* | | Use `assert_queries(0)` instead of `assert_no_queries` to ignore metadata que...Yasuo Honda2019-03-261-1/+1
* | | Merge pull request #35683 from Kukunin/masterRyuta Kamizono2019-03-231-6/+31
|\ \ \
| * | | Fix unintended autosave on has_one through associationSergiy Kukunin2019-03-221-6/+31
* | | | Add Relation#annotate for SQL commentingMatt Yoho2019-03-2120-0/+497
* | | | Merge pull request #35685 from XrXr/attribute-forwardingGannon McGibbon2019-03-201-0/+11
|\ \ \ \ | |_|_|/ |/| | |
| * | | Document option forwarding in ActiveRecord::Base.attributeAlan Wu2019-03-201-0/+11
| |/ /
* / / Bulk Insert: Reuse indexes for unique_byKasper Timm Hansen2019-03-201-3/+33
|/ /
* | Merge pull request #35595 from shioyama/generated_attribute_methods_namespace...Rafael França2019-03-191-1/+1
|\ \
| * | Give GeneratedAttributeMethods module a nameChris Salzberg2019-03-131-1/+1
* | | Don't expose internal `type_casted_binds` methodRyuta Kamizono2019-03-191-1/+1
* | | Merge pull request #35653 from kamipo/remove_arel_nodes_valuesRyuta Kamizono2019-03-184-14/+13
|\ \ \
| * | | Get rid of `Arel::Nodes::Values`Ryuta Kamizono2019-03-184-14/+13
* | | | Add test case to prevent possible SQL injectionRyuta Kamizono2019-03-182-0/+20
|/ / /
* | | Add test case for unscoping `:optimizer_hints`Ryuta Kamizono2019-03-182-0/+12
* | | SQLite3: Make fixture loading to bulk statementsRyuta Kamizono2019-03-171-6/+2
* | | Make `truncate_tables` to bulk statementsRyuta Kamizono2019-03-172-4/+4
* | | Extract `truncate` and `truncate_tables` into database statementsRyuta Kamizono2019-03-174-37/+22
* | | Merge pull request #35615 from kamipo/optimizer_hintsRyuta Kamizono2019-03-174-0/+55
|\ \ \
| * | | Support Optimizer HintsRyuta Kamizono2019-03-164-0/+55
* | | | Raise UnknownAttributeError when unknown column is passed to insert_all and f...Josef Šimánek2019-03-161-0/+6
|/ / /
* / / Revert "Remove Marshal support from SchemaCache"Rafael Mendonça França2019-03-131-0/+18
|/ /
* | Schema Cache: cache table indexesKasper Timm Hansen2019-03-131-9/+28