From 6e5419a0b161a8e62bc347cda03c4ee142b83d20 Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Sat, 21 May 2011 22:02:28 -0500 Subject: Adding pluralize_table_names change to CHANGELOG --- activerecord/CHANGELOG | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'activerecord/CHANGELOG') diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 502a7e43de..b05d3970c7 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,13 @@ *Rails 3.1.0 (unreleased)* +* AR#pluralize_table_names can be used to singularize/pluralize table name of an individual model: + + class User < ActiveRecord::Base + self.pluralize_table_names = false + end + + Previously this could only be set globally for all models through ActiveRecord::Base.pluralize_table_names. [Guillermo Iguaran] + * Add block setting of attributes to singular associations: class User < ActiveRecord::Base -- cgit v1.2.3