Permalink
Browse files

Merge pull request #1198 from guilleiguaran/changelog_pluralize_table…

…_names

Adding pluralize_table_names change to CHANGELOG
  • Loading branch information...
2 parents 82857ad + 6e5419a commit c932539c5b473eff29fcfb400c7440ddd882be7d @josevalim josevalim committed May 22, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 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

0 comments on commit c932539

Please sign in to comment.