aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #28083 from eileencodes/ensure-test-threads-shared-db-connMatthew Draper2017-02-215-32/+60
|\
| * Ensure test threads share a DB connectioneileencodes2017-02-205-32/+60
* | Revert "Merge pull request #27925 from robin850/hwia-removal"Kasper Timm Hansen2017-02-201-3/+3
* | Merge pull request #25877 from kamipo/delegate_to_scope_rather_than_mergeMatthew Draper2017-02-213-24/+29
|\ \ | |/ |/|
| * Define `respond_to_missing?` instead of `respond_to?`Ryuta Kamizono2017-02-211-4/+4
| * Cache target scope for collection proxyRyuta Kamizono2016-12-252-3/+4
| * No need to cache collection proxies separatelyRyuta Kamizono2016-12-251-7/+1
| * Delegate to `scope` rather than `merge!` for collection proxyRyuta Kamizono2016-12-252-14/+24
* | Merge pull request #27925 from robin850/hwia-removalKasper Timm Hansen2017-02-201-3/+3
|\ \
| * | Deprecate the top-level `HashWithIndifferentAccess` contantRobin Dupret2017-02-191-3/+3
* | | Improve `create_table force: true`Ryuta Kamizono2017-02-201-2/+2
|/ /
* | change ActiveModel::Validation to ActiveModel::Validations in commentsSen Zhang2017-02-151-1/+1
* | 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