aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Suppress deprecation warning `implementing to_yaml is deprecated`Fumiaki MATSUSHIMA2017-02-153-0/+6
* Remove unused DdlHelper in ForeignKeyTestRyuta Kamizono2017-02-141-2/+0
* Use ActiveRecord `bigint` type, not SQL literal bigintYasuo Honda2017-02-141-11/+14
* 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-143-24/+10
|\
| * Simplify and optimize Postgres query for primary_keys()Jordan Lewis2017-02-133-24/+10
* | Merge pull request #27986 from kamipo/add_default_index_typeRafael França2017-02-134-1/+13
|\ \ | |/ |/|
| * Add `default_index_type?` to the generic schema dumper doesn't have the knowl...Ryuta Kamizono2017-02-144-1/+13
* | Fix rubocop violationsRafael Mendonça França2017-02-131-3/+3
|/
* Merge pull request #26655 from kamipo/fix_remove_expression_indexRafael França2017-02-132-14/+21
|\
| * Fix `remove_index` to be able to remove expression indexesRyuta Kamizono2016-12-252-14/+21
* | Omit redundant `using: :btree` for schema dumpingRyuta Kamizono2017-02-135-17/+17
* | Refactor `test_find_by_does_not_use_statement_cache_if_table_name_is_changed`kenta-s2017-02-131-2/+2
* | Merge pull request #27122 from kamipo/fix_unscope_with_subqueryRafael França2017-02-132-14/+38
|\ \
| * | Refactor `except_predicates_and_binds` to avoid `tap`Ryuta Kamizono2017-02-131-12/+15
| * | Fix unscope with subqueryRyuta Kamizono2016-12-052-10/+31
* | | Merge pull request #26930 from kamipo/index_name_exists_defaultRafael França2017-02-136-27/+37
|\ \ \
| * | | Deprecate passing `default` to `index_name_exists?`Ryuta Kamizono2017-02-134-5/+21
| * | | The `default` arg of `index_name_exists?` makes to optionalRyuta Kamizono2017-02-135-24/+18
* | | | 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-128-13/+33
* | | | Schema dumping support for PostgreSQL interval typeRyuta Kamizono2017-02-128-21/+36
* | | | Deprecate `supports_primary_key?`Ryuta Kamizono2017-02-126-28/+21
* | | | Remove unused requireRyuta Kamizono2017-02-122-3/+0
* | | | Make `table_name=` reset current statement cachenamusyaka2017-02-123-0/+32
* | | | Add `Style/EmptyLinesAroundMethodBody` in `.rubocop.yml` and remove extra emp...Ryuta Kamizono2017-02-123-3/+0
* | | | Deprecate calling `attr_will_change!` with non-attributesSean Griffin2017-02-113-3/+26
* | | | Fix bigint primary key with unsignedRyuta Kamizono2017-02-102-12/+24
* | | | Merge pull request #27904 from kenta-s/add-methods-back-to-array-delegation-f...Eileen M. Uchitelle2017-02-102-1/+3
|\ \ \ \
| * | | | Delegate `to_sentence` and `to_fomatted_s` to `records`kenta-s2017-02-042-1/+3
* | | | | Revert "Simplify and speed up Postgres query for primary_keys"Ryuta Kamizono2017-02-101-8/+10
* | | | | Fix `test_composite_primary_key_out_of_order`Ryuta Kamizono2017-02-101-2/+8
* | | | | Simplify and speed up Postgres query for primary_keysJordan Lewis2017-02-092-10/+17
* | | | | Refactor `ColumnDefinition` to contain `options` hashRyuta Kamizono2017-02-0915-128/+59
* | | | | Merge pull request #27945 from betesh/allow-frozen-hashes-to-as_jsonRafael Mendonça França2017-02-083-1/+16
|\ \ \ \ \
| * | | | | Allow ActiveRecord::Base.as_json to accept a frozen HashIsaac Betesh2017-02-083-1/+16
* | | | | | Fix inspection behavior when the :id column is not primary keynamusyaka2017-02-095-1/+18
|/ / / / /
* | | | | Merge pull request #25873 from schuetzm/warn_about_dirty_lockRafael Mendonça França2017-02-073-2/+18
|\ \ \ \ \
| * | | | | Deprecate locking of dirty recordsMarc Schütz2017-02-073-2/+18
* | | | | | Remove deprecated behavior that halts callbacks when the return is falseRafael Mendonça França2017-02-074-121/+4
* | | | | | Merge pull request #27608 from kamipo/remove_deprecated_passing_string_to_def...Rafael França2017-02-071-47/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Remove deprecated passing string to define callbackRyuta Kamizono2017-02-041-47/+0
| |/ / / /
* | | | | Revert "Remove useless `column_alias` in `subquery_for_count`"Ryuta Kamizono2017-02-072-3/+3
* | | | | Merge pull request #27334 from kamipo/pk_and_ref_columns_should_be_identical_...Jeremy Daer2017-02-0712-31/+79
|\ \ \ \ \
| * | | | | `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-0712-31/+79
* | | | | | 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-062-5/+5
| |/ / / / |/| | | |