aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | Merge pull request #27855 from kevinzwhuang/finder-methods-typo-fixEileen M. Uchitelle2017-01-311-2/+2
|\ \ \
| * | | Fix grammar typo about sort in finder_methods.rbKevin Huang2017-01-301-2/+2
* | | | Merge pull request #27838 from kamipo/reload_destroyed_through_recordRafael França2017-01-311-0/+4
|\ \ \ \ | |/ / / |/| | |
| * | | Reload `through_record` that has been destroyed in `create_through_record`Ryuta Kamizono2017-01-291-0/+4
* | | | Merge pull request #27849 from joevandyk/patch-2Rafael França2017-01-311-1/+2
* | | | Avoid lambda scopes when possibleAaron Patterson2017-01-301-3/+1
* | | | deprecate `scope_chain`Aaron Patterson2017-01-301-0/+2
* | | | update comments and call `super`Aaron Patterson2017-01-301-24/+3
* | | | remove caching until we prove it is requiredAaron Patterson2017-01-301-7/+3
* | | | Fix `scopes` implementation on `PolymorphicReflection`Aaron Patterson2017-01-303-54/+15
* | | | Implement `scopes` method on each Reflectioneileencodes2017-01-301-5/+47
* | | | Merge pull request #27787 from y-yagi/show_correct_class_name_in_migration_errorRafael França2017-01-301-1/+1
|\ \ \ \
| * | | | show correct class name in migration inherited directly erroryuuji.yaginuma2017-01-241-1/+1
* | | | | Merge pull request #27847 from jaredbeck/patch-6Rafael França2017-01-301-0/+2
|\ \ \ \ \
| * | | | | Docs: Specify return value of `save!`Jared Beck2017-01-301-0/+2
* | | | | | Merge pull request #27743 from jordanlewis/simplify-postgres-column-definitionsRafael França2017-01-301-5/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Simplify Postgres query for column_definitions()Jordan Lewis2017-01-301-5/+5
| | |/ / / | |/| | |
* | | | | Merge pull request #27773 from kirs/serialized-error-attributeRafael França2017-01-303-6/+7
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Report the attribute on ActiveRecord::SerializationTypeMismatchKir Shatrov2017-01-293-6/+7
| |/ / /
* / / / Missing require "active_support/multibyte/chars"Akira Matsuda2017-01-271-0/+1
|/ / /