diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-07 13:56:11 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-04-07 13:56:58 -0300 |
commit | a92814b001d93f8ef533e692011bbc8824841bf7 (patch) | |
tree | 4b834790615f6416a5fe261661f9f2a8f440126b /activerecord | |
parent | 492e6b57d43524dd6183fd8f33e4bdd7e8e8ceeb (diff) | |
download | rails-a92814b001d93f8ef533e692011bbc8824841bf7.tar.gz rails-a92814b001d93f8ef533e692011bbc8824841bf7.tar.bz2 rails-a92814b001d93f8ef533e692011bbc8824841bf7.zip |
Minor AR changelog improvements [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 5891de9841..58f6153e96 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,7 +1,6 @@ ## Rails 4.0.0 (unreleased) ## -* `#default_scopes?` is deprecated. Instead, do something like - `Post.default_scopes.empty?`. +* `default_scopes?` is deprecated. Check for `default_scopes.empty?` instead. *Agis Anastasopoulos* @@ -1856,13 +1855,13 @@ add_index(:accounts, :code, where: 'active') - Generates + generates CREATE INDEX index_accounts_on_code ON accounts(code) WHERE active *Marcelo Silveira* -* Implemented ActiveRecord::Relation#none method. +* Implemented `ActiveRecord::Relation#none` method. The `none` method returns a chainable relation with zero records (an instance of the NullRelation class). |