aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Should keep the primary key column orderRyuta Kamizono2017-02-141-0/+1
* Merge pull request #27961 from jordanlewis/simplify-postgres-primary-keys-v2Sean Griffin2017-02-141-10/+10
|\
| * Simplify and optimize Postgres query for primary_keys()Jordan Lewis2017-02-131-10/+10
* | Add `default_index_type?` to the generic schema dumper doesn't have the knowl...Ryuta Kamizono2017-02-144-1/+13
|/
* Merge pull request #26655 from kamipo/fix_remove_expression_indexRafael França2017-02-131-12/+16
|\
| * Fix `remove_index` to be able to remove expression indexesRyuta Kamizono2016-12-251-12/+16
* | Omit redundant `using: :btree` for schema dumpingRyuta Kamizono2017-02-131-1/+1
* | Merge pull request #27122 from kamipo/fix_unscope_with_subqueryRafael França2017-02-131-14/+26
|\ \
| * | Refactor `except_predicates_and_binds` to avoid `tap`Ryuta Kamizono2017-02-131-12/+15
| * | Fix unscope with subqueryRyuta Kamizono2016-12-051-10/+19
* | | Merge pull request #26930 from kamipo/index_name_exists_defaultRafael França2017-02-133-9/+15
|\ \ \
| * | | Deprecate passing `default` to `index_name_exists?`Ryuta Kamizono2017-02-132-0/+10
| * | | The `default` arg of `index_name_exists?` makes to optionalRyuta Kamizono2017-02-133-9/+5
* | | | Merge pull request #26630 from kamipo/quoted_binaryRafael França2017-02-134-20/+17
|\ \ \ \ | |/ / / |/| | |
| * | | Extract `quoted_binary` and use it rather than override `_quote`Ryuta Kamizono2016-09-274-20/+17
* | | | Schema dumping support for PostgreSQL oid typeRyuta Kamizono2017-02-124-1/+20
* | | | Schema dumping support for PostgreSQL interval typeRyuta Kamizono2017-02-124-4/+12
* | | | Deprecate `supports_primary_key?`Ryuta Kamizono2017-02-124-17/+3
* | | | Remove unused requireRyuta Kamizono2017-02-121-2/+0
* | | | Make `table_name=` reset current statement cachenamusyaka2017-02-121-0/+1
* | | | Deprecate calling `attr_will_change!` with non-attributesSean Griffin2017-02-112-3/+18
* | | | Fix bigint primary key with unsignedRyuta Kamizono2017-02-101-1/+1
* | | | Merge pull request #27904 from kenta-s/add-methods-back-to-array-delegation-f...Eileen M. Uchitelle2017-02-101-0/+1
|\ \ \ \
| * | | | Delegate `to_sentence` and `to_fomatted_s` to `records`kenta-s2017-02-041-0/+1
* | | | | Revert "Simplify and speed up Postgres query for primary_keys"Ryuta Kamizono2017-02-101-8/+10
* | | | | Simplify and speed up Postgres query for primary_keysJordan Lewis2017-02-091-10/+8
* | | | | Refactor `ColumnDefinition` to contain `options` hashRyuta Kamizono2017-02-0911-109/+50
* | | | | Merge pull request #27945 from betesh/allow-frozen-hashes-to-as_jsonRafael Mendonça França2017-02-081-1/+1
|\ \ \ \ \
| * | | | | Allow ActiveRecord::Base.as_json to accept a frozen HashIsaac Betesh2017-02-081-1/+1
* | | | | | Fix inspection behavior when the :id column is not primary keynamusyaka2017-02-091-1/+1
|/ / / / /
* | | | | Merge pull request #25873 from schuetzm/warn_about_dirty_lockRafael Mendonça França2017-02-071-1/+10
|\ \ \ \ \
| * | | | | Deprecate locking of dirty recordsMarc Schütz2017-02-071-1/+10
* | | | | | Remove deprecated behavior that halts callbacks when the return is falseRafael Mendonça França2017-02-071-1/+0
|/ / / / /
* | | | | Revert "Remove useless `column_alias` in `subquery_for_count`"Ryuta Kamizono2017-02-071-2/+3
* | | | | Merge pull request #27334 from kamipo/pk_and_ref_columns_should_be_identical_...Jeremy Daer2017-02-075-9/+51
|\ \ \ \ \
| * | | | | `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-075-9/+51
* | | | | | Merge pull request #26378 from kamipo/decouple_building_arel_ast_for_uniquene...Jeremy Daer2017-02-064-41/+51
|\ \ \ \ \ \
| * | | | | | Add `:nodoc:` to `case_sensitive_comparison` and `case_insensitive_comparison`Ryuta Kamizono2017-01-202-3/+3
| * | | | | | Decouple the building Arel ASTs for uniqueness validatorRyuta Kamizono2016-12-254-38/+48
| | |_|_|_|/ | |/| | | |
* | | | | | Remove useless `column_alias` in `subquery_for_count`Ryuta Kamizono2017-02-061-3/+2
| |/ / / / |/| | | |
* | | | | Merge pull request #27389 from kamipo/fix_mysql_pk_dumping_correctlyJeremy Daer2017-02-066-18/+25
|\ \ \ \ \
| * | | | | Restore the behaviour of the compatibility layer for integer-like PKsRyuta Kamizono2017-02-042-1/+7
| * | | | | Correctly dump integer-like primary key with default nilRyuta Kamizono2017-02-044-20/+21
| | |/ / / | |/| | |
* | | | | Deprecate `ColumnDumper#migration_keys`Ryuta Kamizono2017-02-075-6/+10
* | | | | Indicate action that failed in YamlColumnKir Shatrov2017-02-052-5/+5
|/ / / /
* | | | Fix collection_singular_ids= bugDaniel Colson2017-02-021-2/+2
* | | | Virtual/generated column support for MySQL 5.7.5+ and MariaDB 5.2.0+Ryuta Kamizono2017-02-019-14/+76
* | | | Chain scope constraints should respect own table aliasRyuta Kamizono2017-02-011-5/+6
* | | | Merge pull request #27767 from benoittgt/freeze_sql_type_with_get_oid_typeArthur Nogueira Neves2017-01-311-1/+1
|\ \ \ \
| * | | | Freeze default empty string for sql_type in get_oid_typeBenoit Tigeot2017-01-221-1/+1