Permalink
Browse files

Add notes to README on group_defaults option

  • Loading branch information...
obrie committed Mar 8, 2010
1 parent 1b2341c commit 1920abc408045761d228af350acf0636c287d9b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -60,7 +60,7 @@ To define the preferences for a model, you can do so right within the model:
preference :dark_chocolate, :default => true
preference :color, :string
preference :favorite_number
- preference :language, :string, :default => 'English'
+ preference :language, :string, :default => 'English', :group_defaults => {:chat => 'Spanish'}
end
In the above model, 5 preferences have been defined:

0 comments on commit 1920abc

Please sign in to comment.