aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_record_validations_callbacks.textile
diff options
context:
space:
mode:
authorPavel Gorbokon <pahanix@gmail.com>2010-11-22 16:37:33 +0200
committerPavel Gorbokon <pahanix@gmail.com>2010-11-22 16:37:33 +0200
commit2515ad8a3e03402c1d5a5f9b46c48a3a9bf75081 (patch)
tree36563275cd602630bfa50663bc189e90a31ffb74 /railties/guides/source/active_record_validations_callbacks.textile
parent8c17d30d687b0b9719d6998b1dc8144490132b8d (diff)
downloadrails-2515ad8a3e03402c1d5a5f9b46c48a3a9bf75081.tar.gz
rails-2515ad8a3e03402c1d5a5f9b46c48a3a9bf75081.tar.bz2
rails-2515ad8a3e03402c1d5a5f9b46c48a3a9bf75081.zip
Fix ruby syntax errors in railties/guides docs
Diffstat (limited to 'railties/guides/source/active_record_validations_callbacks.textile')
-rw-r--r--railties/guides/source/active_record_validations_callbacks.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile
index 9ce0423244..0824ba450c 100644
--- a/railties/guides/source/active_record_validations_callbacks.textile
+++ b/railties/guides/source/active_record_validations_callbacks.textile
@@ -355,7 +355,7 @@ This helper validates that the specified attributes are not empty. It uses the +
<ruby>
class Person < ActiveRecord::Base
- validates :name, :presence => true, :login, :email
+ validates :name, :login, :email, :presence => true
end
</ruby>