aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/security.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-11-23 21:59:50 +0100
committerXavier Noria <fxn@hashref.com>2010-11-23 21:59:50 +0100
commit85d64316a4b4205fa2490d05f62b25a63943f6ba (patch)
tree3807d93d7f34a90fd2d9b8d4062f4e1845104f8d /railties/guides/source/security.textile
parent9f35799221c8a3c06b3f34a38525654b59598cfd (diff)
parentfd64bba648762cfa6ffb603e0298502be873aa6f (diff)
downloadrails-85d64316a4b4205fa2490d05f62b25a63943f6ba.tar.gz
rails-85d64316a4b4205fa2490d05f62b25a63943f6ba.tar.bz2
rails-85d64316a4b4205fa2490d05f62b25a63943f6ba.zip
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'railties/guides/source/security.textile')
-rw-r--r--railties/guides/source/security.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/security.textile b/railties/guides/source/security.textile
index 6f766430c1..5b24d8c8e3 100644
--- a/railties/guides/source/security.textile
+++ b/railties/guides/source/security.textile
@@ -550,7 +550,7 @@ Ruby uses a slightly different approach than many other languages to match the e
<ruby>
class File < ActiveRecord::Base
- validates :name, format => /^[\w\.\-\+]+$/
+ validates :name, :format => /^[\w\.\-\+]+$/
end
</ruby>