aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/html/activerecord_validations_callbacks.html
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-01-11 19:22:19 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-01-11 19:22:19 +0000
commit55c18cfb28a69b73e4f720a61498ffe73fd6c22b (patch)
tree76a987ed3b5729df4ec9e6df103e63e5d9fc5b61 /railties/doc/guides/html/activerecord_validations_callbacks.html
parentbda787e9b10141c841ba3d86146d42b8c1e62a1b (diff)
downloadrails-55c18cfb28a69b73e4f720a61498ffe73fd6c22b.tar.gz
rails-55c18cfb28a69b73e4f720a61498ffe73fd6c22b.tar.bz2
rails-55c18cfb28a69b73e4f720a61498ffe73fd6c22b.zip
- Add 'Performance test environment' to Performance guide
- Add rake middleware and Josh's chat log to Rack guide - Remove long changelog from Active Record Finders guides
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 0862776f53..5251869119 100644
--- a/railties/doc/guides/html/activerecord_validations_callbacks.html
+++ b/railties/doc/guides/html/activerecord_validations_callbacks.html
@@ -645,7 +645,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>