Permalink
Browse files

Added Hash to the list of possible field types.

  • Loading branch information...
1 parent 23c8ea0 commit 894f37a0b11aabea7759c605661f1fc365cb0297 @gma committed Oct 1, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 content/docs/documents.html.haml
@@ -36,9 +36,10 @@ category: docs
typecasted when being set. Currently the valid types in Mongoid are:
<tt>Array</tt>, <tt>BigDecimal</tt>,
<tt>Boolean</tt>, <tt>Date</tt>, <tt>DateTime</tt>, <tt>Float</tt>,
- <tt>Integer</tt>, <tt>String</tt>, <tt>Symbol</tt>, <tt>Time</tt>
- and any object that inherits from <tt>Mongoid::Document</tt>. BigDecimals
- will get converted to and from Strings in the database.
+ <tt>Hash</tt>, <tt>Integer</tt>, <tt>String</tt>, <tt>Symbol</tt>,
+ <tt>Time</tt> and any object that inherits from
+ <tt>Mongoid::Document</tt>. BigDecimals will get converted to and
+ from Strings in the database.
<tt>person.rb</tt>:
%pre

0 comments on commit 894f37a

Please sign in to comment.