aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-25 08:26:29 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-25 08:26:29 +0000
commit948be2c998c9e3e56da742b38bc0ab57b75c8d2d (patch)
tree9b078f37ccefd4c0943c1c0080c5a1a572118d4d /activerecord/CHANGELOG
parent2346f5716f7b08168b74b29e0279d51c51557b08 (diff)
downloadrails-948be2c998c9e3e56da742b38bc0ab57b75c8d2d.tar.gz
rails-948be2c998c9e3e56da742b38bc0ab57b75c8d2d.tar.bz2
rails-948be2c998c9e3e56da742b38bc0ab57b75c8d2d.zip
Added new symbol-driven approach to activating observers with Base#observer [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG16
1 files changed, 13 insertions, 3 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index 1983a18e50..393bca06a1 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,10 +1,20 @@
*SVN*
-* Wrap :conditions in parentheses to prevent problems with OR's #1871
+* Added new symbol-driven approach to activating observers with Base#observer [DHH]. Example:
-* Allow the postgresql adapter to work with the SchemaDumper.
+ ActiveRecord::Base.observer(:cacher, :garbage_collector)
+
+ ...which is the same as doing:
+
+ [ Cacher.instance, GarbageCollector.instance ]
+
+* 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]
+
+* Wrap :conditions in parentheses to prevent problems with OR's #1871 [Jamis Buck]
+
+* Allow the postgresql adapter to work with the SchemaDumper. [Jamis Buck]
-* Add ActiveRecord::SchemaDumper for dumping a DB schema to a pure-ruby file, making it easier to consolidate large migration lists and port database schemas between databases.
+* Add ActiveRecord::SchemaDumper for dumping a DB schema to a pure-ruby file, making it easier to consolidate large migration lists and port database schemas between databases. [Jamis Buck]
* Fixed migrations for Windows when using more than 10 [David Naseby]