Permalink
Browse files

Small doc change for locale on models

  • Loading branch information...
1 parent f5dca5d commit df3ffef29ef3cc0ad82b030644519e86c0659087 @samlown committed Sep 24, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.rdoc
View
@@ -235,9 +235,12 @@ A useful +named_scope+ could be as follows:
@posts = Post.for_current_locale.paginate
+Changing locale of an object after it has been created will cause its translations to be ignored, but
+by emptying the locale value the translations should work as before.
Of course, if you don't want this funcionality simply do not add a locale attribute or method to
the parent model.
+
== How it works
The plugin overrides the default attribute accessor functions and automatically

0 comments on commit df3ffef

Please sign in to comment.