diff options
author | Xavier Noria <fxn@hashref.com> | 2010-11-23 21:59:50 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-11-23 21:59:50 +0100 |
commit | 85d64316a4b4205fa2490d05f62b25a63943f6ba (patch) | |
tree | 3807d93d7f34a90fd2d9b8d4062f4e1845104f8d /railties/guides/source/security.textile | |
parent | 9f35799221c8a3c06b3f34a38525654b59598cfd (diff) | |
parent | fd64bba648762cfa6ffb603e0298502be873aa6f (diff) | |
download | rails-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.textile | 2 |
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> |