aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/html/activerecord_validations_callbacks.html
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-01-09 18:58:27 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-01-09 18:58:27 +0000
commita2a0b44a9adb2c34770f2eef7e8db435bcdce55c (patch)
treea6a4b82107008237604e19a5ddfd09c3a0526e9d /railties/doc/guides/html/activerecord_validations_callbacks.html
parent79eba81df8177685575f06a098325424a0c8dfd0 (diff)
downloadrails-a2a0b44a9adb2c34770f2eef7e8db435bcdce55c.tar.gz
rails-a2a0b44a9adb2c34770f2eef7e8db435bcdce55c.tar.bz2
rails-a2a0b44a9adb2c34770f2eef7e8db435bcdce55c.zip
Some more perf guide stuff
Diffstat (limited to 'railties/doc/guides/html/activerecord_validations_callbacks.html')
-rw-r--r--railties/doc/guides/html/activerecord_validations_callbacks.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/html/activerecord_validations_callbacks.html b/railties/doc/guides/html/activerecord_validations_callbacks.html
index 2aa09ee125..7936de209d 100644
--- a/railties/doc/guides/html/activerecord_validations_callbacks.html
+++ b/railties/doc/guides/html/activerecord_validations_callbacks.html
@@ -635,7 +635,7 @@ http://www.gnu.org/software/src-highlite -->
<td class="icon">
<img src="./images/icons/note.png" alt="Note" />
</td>
-<td class="content">If you want to validate the presence of a boolean field (where the real values are true and false), you will want to use validates_inclusion_of :field_name, :in &#8658; [true, false] This is due to the way Object#blank? handles boolean values. false.blank? # &#8658; true</td>
+<td class="content">If you want to validate the presence of a boolean field (where the real values are true and false), you will want to use validates_inclusion_of :field_name, :in =&gt; [true, false] This is due to the way Object#blank? handles boolean values. false.blank? # =&gt; true</td>
</tr></table>
</div>
<div class="paragraph"><p>The default error message for <tt>validates_presence_of</tt> is "<em>can&#8217;t be empty</em>".</p></div>