diff options
author | doabit <doinsist@gmail.com> | 2013-03-24 05:09:54 +0800 |
---|---|---|
committer | doabit <doinsist@gmail.com> | 2013-03-24 05:09:54 +0800 |
commit | 8094156728f72d493916e3d3a8c8d90c5f2d79c0 (patch) | |
tree | 4772eec9db0ed9316941aee23fa5dd038587b3f9 /activerecord/CHANGELOG.md | |
parent | 9e8b7d9d5bb3537f113fbda2a1720c5f412fbe62 (diff) | |
download | rails-8094156728f72d493916e3d3a8c8d90c5f2d79c0.tar.gz rails-8094156728f72d493916e3d3a8c8d90c5f2d79c0.tar.bz2 rails-8094156728f72d493916e3d3a8c8d90c5f2d79c0.zip |
Custom index type support with :using.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 9556ed2468..62a6b856f2 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,12 @@ ## Rails 4.0.0 (unreleased) ## +* Add an `add_index` override in Postgresql adapter and MySQL adapter + to allow custom index type support. Fixes #6101. + + add_index(:wikis, :body, :using => 'gin') + + *Stefan Huber* and *Doabit* + * After extraction of mass-assignment attributes (which protects [id, type] by default) we can pass id to `update_attributes` and it will update another record because id will be used in where statement. We never have |