aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-147-15/+12
* Suppress `warning: BigDecimal.new is deprecated` in activerecordYasuo Honda2017-12-1311-22/+22
* Suppress expected exceptions by `report_on_exception` = `false` in Ruby 2.5Yasuo Honda2017-12-132-0/+5
* Fix inheritance object creation from relationRyuta Kamizono2017-12-131-0/+39
* Convert protected_environments to an array of stringsbogdanvlviv2017-12-122-2/+31
* Make `sanitize_sql_` methods publicyuuji.yaginuma2017-12-131-24/+24
* Merge pull request #31405 from bogdanvlviv/fix-conflicts-counter_cache-with-t...Rafael França2017-12-123-3/+36
|\
| * Fix conflicts `counter_cache` with `touch: true` by optimistic locking.bogdanvlviv2017-12-123-3/+36
* | Merge pull request #31403 from Edouard-chin/fix-quoted-columnnameRafael França2017-12-121-0/+8
|\ \
| * | Quote colum_names when building select:Edouard CHIN2017-12-111-0/+8
| |/
* / Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-125-5/+5
|/
* Reset schema cache after testyuuji.yaginuma2017-12-101-0/+2
* SQLite: Fix `copy_table` with composite primary keysRyuta Kamizono2017-12-081-2/+29
* Fix `scope_for_create` to do not lose polymorphic associationsRyuta Kamizono2017-12-082-1/+10
* Merge pull request #31327 from aellispierce/custom-id-change-table-sqliteEileen M. Uchitelle2017-12-071-0/+18
|\
| * Fix sqlite migrations with custom primary keysAshley Ellis Pierce2017-12-061-0/+18
* | Address `ActiveRecord::NotNullViolation: OCIError: ORA-01400` for Oracle data...Yasuo Honda2017-12-071-6/+14
* | Use `:string` instead of `:text` for `JsonAttributeTest`Ryuta Kamizono2017-12-062-5/+10
* | Revert "Merge pull request #31341 from yahonda/skip_json_attribute_test"Ryuta Kamizono2017-12-061-24/+22
* | Execute `JsonAttributeTest` only if `supports_json?` returns `true`Yasuo Honda2017-12-051-22/+24
* | SQLite3 valid integer value should be 8 bytes (64-bit signed integer) (#28379)Ryuta Kamizono2017-12-031-5/+3
* | Emulate JSON types for SQLite3 adapter (#29664)Ryuta Kamizono2017-12-032-4/+2
* | `change_column_default` should be executed after type changingRyuta Kamizono2017-12-031-2/+2
* | Fix `s/klass.connection/connection/`Ryuta Kamizono2017-12-031-1/+1
* | Fix `test_add_column_with_timestamp_type` failureRyuta Kamizono2017-12-032-7/+8
* | Fix warning: assigned but unused variable - tRyuta Kamizono2017-12-031-1/+1
* | Refactor `length`, `order`, and `opclass` index options dumpingRyuta Kamizono2017-12-033-6/+26
* | Merge pull request #31230 from dinahshi/postgresql_extract_sqlMatthew Draper2017-12-032-2/+19
|\ \
| * | Extract sql fragment generators for alter table from PostgreSQL adapterDinah Shi2017-12-022-2/+19
* | | Add support for invalid foreign keys in PostgresTravis Hunter2017-12-011-0/+68
| |/ |/|
* | Merge pull request #19090 from gregnavis/support-postgresql-operator-classes-...Matthew Draper2017-12-013-5/+40
|\ \
| * | Add support for PostgreSQL operator classes to add_indexGreg Navis2017-11-303-5/+40
* | | Remove unnecessary scopingRyuta Kamizono2017-12-011-1/+1
* | | Class level `update` and `destroy` checks all the records exist before making...Ryuta Kamizono2017-12-011-4/+37
* | | Maintain raising `RecordNotFound` for class level `update` and` destroy`Ryuta Kamizono2017-12-011-2/+12
|/ /
* | Merge pull request #31214 from chopraanmol1/bug_fix_has_one_inverse_owner_rel...Eileen M. Uchitelle2017-11-292-0/+14
|\ \
| * | Inverse instance should not be reloaded during autosave if called in validationAnmol Chopra2017-11-272-0/+14
* | | Prevent scope named same as a ActiveRecord::Relation instance method.Chen Kinnrot2017-11-282-0/+34
* | | Add new error class `QueryCanceled` which will be raised when canceling state...Ryuta Kamizono2017-11-272-2/+56
* | | Rename `TransactionTimeout` to more descriptive `LockWaitTimeout` (#31223)Ryuta Kamizono2017-11-272-4/+4
* | | Revert "Merge pull request #31006 from rails/kamipo/ordinal_methods_should_re...eileencodes2017-11-261-16/+0
* | | Merge pull request #31221 from matthewd/flush-idle-connectionsMatthew Draper2017-11-262-0/+53
|\ \ \ | |_|/ |/| |
| * | Flush idle database connectionsMatthew Draper2017-11-262-0/+53
| |/
* | Merge pull request #31184 from TheSmartnik/fix_record_not_found_on_reloadRafael França2017-11-252-1/+19
|\ \
| * | Provide arguments to RecordNotFoundNikita Misharin2017-11-252-1/+19
* | | Merge pull request #31006 from rails/kamipo/ordinal_methods_should_respect_lo...Eileen M. Uchitelle2017-11-251-0/+16
|\ \ \
| * | | Ordinal methods should respect loaded recordsRyuta Kamizono2017-10-281-0/+16
* | | | Merge pull request #31173 from matthewd/connection-fork-safetyMatthew Draper2017-11-251-0/+32
|\ \ \ \ | |_|_|/ |/| | |
| * | | Improve AR connection fork safetyMatthew Draper2017-11-181-0/+32
| | |/ | |/|
* | | No difference between JRuby and CRuby at test_read_attributes_before_type_cas...Yasuo Honda2017-11-211-6/+1