aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Add Relation#annotate for SQL commentingMatt Yoho2019-03-2121-0/+513
* 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
* Remove Marshal support from SchemaCacheKasper Timm Hansen2019-03-121-16/+0
* Merge pull request #35424 from Korri/validation-rules-locale-fallbackRafael França2019-03-111-2/+18
|\
| * Fall back to parent locale before it falls back to the :errors namespaceHugo Vacher2019-03-041-2/+18
* | Merge pull request #35565 from yahonda/rm_test_create_table_with_custom_seque...Kasper Timm Hansen2019-03-111-33/+0
|\ \
| * | Remove `MigrationTest#test_create_table_with_custom_sequence_name`Yasuo Honda2019-03-111-33/+0
* | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2019-03-111-5/+6
* | | Merge pull request #35320 from kamille-gz/fix_query_method_when_given_Date_da...Ryuta Kamizono2019-03-111-0/+63
|\ \ \
| * | | Fix query attribute method on user-defined attribute to be aware of typecaste...kamille-3212019-03-111-0/+63
|/ / /
* | | Merge pull request #35449 from pjrebsch/quoting-empty-rangeRyuta Kamizono2019-03-111-0/+13
|\ \ \
| * | | Quote empty ranges like other empty enumerablesPatrick Rebsch2019-03-071-0/+13
| |/ /
* | | Don't test `disconnect!` if in memory dbRyuta Kamizono2019-03-101-8/+8
* | | Fix `reconnect!` to work after `disconnect!`Ryuta Kamizono2019-03-101-7/+9
* | | Fixed autosave association test typoShailesh Kalamkar2019-03-091-1/+1
|/ /
* | Merge pull request #35512 from kamipo/delegate_onlyRyuta Kamizono2019-03-072-1/+5
|\ \
| * | Delegate `only` query method to relation as with `except`Ryuta Kamizono2019-03-072-1/+5
* | | Merge pull request #35503 from samjohn/cannot-grammar-correctionXavier Noria2019-03-071-1/+1
|\ \ \ | |/ / |/| |
| * | Replace “can not” with “cannot”.Samantha John2019-03-061-1/+1
* | | Refactor AR::Querying to extract `QUERYING_METHODS` listRyuta Kamizono2019-03-071-14/+16
* | | Just inherit `ForeignKeyChangeColumnTest` for with prefix/suffix testsRyuta Kamizono2019-03-071-17/+5
|/ /
* | Add some whitespace for readability.Kasper Timm Hansen2019-03-061-0/+12
* | Fix test case name after file extractionKasper Timm Hansen2019-03-061-1/+1
* | Handle blank inserts like update_all; raise upfront.Kasper Timm Hansen2019-03-061-1/+1
* | Allow `remove_foreign_key` with both `to_table` and `options`Ryuta Kamizono2019-03-061-0/+12
* | Ensure `clear_cache!` clears the prepared statements cacheRyuta Kamizono2019-03-061-0/+4
* | Add insert_all to ActiveRecord models (#35077)Bob Lail2019-03-054-6/+146
* | Reset `connection_handlers` to default when any test dirties thatRyuta Kamizono2019-03-051-0/+4
* | Fix typo in test nameSharang Dashputre2019-03-051-1/+1
* | Merge pull request #35434 from matthewd/faster-isolated-arMatthew Draper2019-03-051-0/+6
|\ \
| * | Clean up AR's isolated test runnerMatthew Draper2019-03-051-0/+6
* | | Allow `truncate` for SQLite3 adapter and add `rails db:seed:replant` (#34779)Bogdan2019-03-042-0/+140
* | | Deprecate mismatched collation comparison for uniquness validatorRyuta Kamizono2019-03-042-10/+62