diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-25 08:48:30 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-25 08:48:30 +0000 |
commit | 7f86e026f6411d3a557831efbb1af121e791eb31 (patch) | |
tree | eef44d9a1b4c2a9f8f28b2af5be1c4f553f3fd3d /activerecord/CHANGELOG | |
parent | 948be2c998c9e3e56da742b38bc0ab57b75c8d2d (diff) | |
download | rails-7f86e026f6411d3a557831efbb1af121e791eb31.tar.gz rails-7f86e026f6411d3a557831efbb1af121e791eb31.tar.bz2 rails-7f86e026f6411d3a557831efbb1af121e791eb31.zip |
Use assignment instead of call
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 393bca06a1..291b0649e1 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,12 +1,8 @@ *SVN* -* Added new symbol-driven approach to activating observers with Base#observer [DHH]. Example: +* Added new symbol-driven approach to activating observers with Base#observers= [DHH]. Example: - ActiveRecord::Base.observer(:cacher, :garbage_collector) - - ...which is the same as doing: - - [ Cacher.instance, GarbageCollector.instance ] + ActiveRecord::Base.observers = :cacher, :garbage_collector * Added AbstractAdapter#select_value and AbstractAdapter#select_values as convenience methods for selecting single values, instead of hashes, of the first column in a SELECT #2283 [solo@gatelys.com] |