aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
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-1313-24/+24
* 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-133-12/+60
* Merge pull request #31425 from chiastolite/optimize_foregin_keys_queryRyuta Kamizono2017-12-131-2/+3
|\
| * Optimizing information_schema query for `foreign_keys`Hiroyuki Morita2017-12-131-2/+3
* | Convert protected_environments to an array of stringsbogdanvlviv2017-12-123-16/+47
|/
* Make `sanitize_sql_` methods publicyuuji.yaginuma2017-12-135-152/+151
* Merge pull request #31405 from bogdanvlviv/fix-conflicts-counter_cache-with-t...Rafael França2017-12-126-8/+128
|\
| * Fix conflicts `counter_cache` with `touch: true` by optimistic locking.bogdanvlviv2017-12-126-8/+128
* | Merge pull request #31403 from Edouard-chin/fix-quoted-columnnameRafael França2017-12-122-1/+9
|\ \
| * | Quote colum_names when building select:Edouard CHIN2017-12-112-1/+9
| |/
* / Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-127-8/+8
|/
* Reset schema cache after testyuuji.yaginuma2017-12-101-0/+2
* SQLite: Fix `copy_table` with composite primary keysRyuta Kamizono2017-12-082-6/+35
* Fix `scope_for_create` to do not lose polymorphic associationsRyuta Kamizono2017-12-083-3/+26
* Merge pull request #31327 from aellispierce/custom-id-change-table-sqliteEileen M. Uchitelle2017-12-072-1/+23
|\
| * Fix sqlite migrations with custom primary keysAshley Ellis Pierce2017-12-062-1/+23
* | 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
* | `current_version` should catch `NoDatabaseError` from `get_all_versions`Ryuta Kamizono2017-12-041-12/+5
* | Merge pull request #31311 from y-yagi/ignore_no_database_error_when_loading_s...Kasper Timm Hansen2017-12-032-3/+14
|\ \
| * | Make `Migrator.current_version` work without a current databaseyuuji.yaginuma2017-12-032-3/+14
* | | SQLite3 valid integer value should be 8 bytes (64-bit signed integer) (#28379)Ryuta Kamizono2017-12-032-5/+18
* | | Emulate JSON types for SQLite3 adapter (#29664)Ryuta Kamizono2017-12-036-13/+9
* | | `change_column_default` should be executed after type changingRyuta Kamizono2017-12-033-16/+20
* | | Fix `s/klass.connection/connection/`Ryuta Kamizono2017-12-031-1/+1
* | | Fix `test_add_column_with_timestamp_type` failureRyuta Kamizono2017-12-032-7/+8
|/ /
* | Extract duplicated index column options normalization as `options_for_index_c...Ryuta Kamizono2017-12-035-46/+34
* | Fix warning: assigned but unused variable - tRyuta Kamizono2017-12-031-1/+1
* | Refactor `length`, `order`, and `opclass` index options dumpingRyuta Kamizono2017-12-039-33/+67
* | Merge pull request #31230 from dinahshi/postgresql_extract_sqlMatthew Draper2017-12-036-61/+107
|\ \
| * | Extract sql fragment generators for alter table from PostgreSQL adapterDinah Shi2017-12-026-61/+107
* | | Fix method name in `validate_constraint` doc [ci skip]yuuji.yaginuma2017-12-021-1/+1
* | | Add support for invalid foreign keys in PostgresTravis Hunter2017-12-018-1/+152
| |/ |/|
* | Remove unpaired `}` [ci skip]Ryuta Kamizono2017-12-011-2/+1
* | Tweaks CHANGELOGs [ci skip]Ryuta Kamizono2017-12-011-2/+2
* | Merge pull request #19090 from gregnavis/support-postgresql-operator-classes-...Matthew Draper2017-12-019-20/+115
|\ \
| * | Add support for PostgreSQL operator classes to add_indexGreg Navis2017-11-309-20/+115
* | | Remove unnecessary scopingRyuta Kamizono2017-12-011-1/+1
* | | Class level `update` and `destroy` checks all the records exist before making...Ryuta Kamizono2017-12-012-13/+41
* | | Maintain raising `RecordNotFound` for class level `update` and` destroy`Ryuta Kamizono2017-12-012-6/+21
* | | Add :nodoc: to `StatementPool` which is internal used [ci skip]Ryuta Kamizono2017-11-302-4/+2
|/ /
* | Merge pull request #31214 from chopraanmol1/bug_fix_has_one_inverse_owner_rel...Eileen M. Uchitelle2017-11-293-0/+17
|\ \
| * | Inverse instance should not be reloaded during autosave if called in validationAnmol Chopra2017-11-273-0/+17
* | | Merge pull request #31179 from kinnrot/scoping-reserved-namesRafael Mendonça França2017-11-285-0/+49
|\ \ \
| * | | Prevent scope named same as a ActiveRecord::Relation instance method.Chen Kinnrot2017-11-285-0/+48
* | | | Merge pull request #31254 from suginoy/update_doc_find_orderRafael França2017-11-281-3/+4
|\ \ \ \