-
Notifications
You must be signed in to change notification settings - Fork 0
no HTML tag, plaintext only
License
beyond/validates_plaintext_of
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ValidatesPlaintextOf ==================== HTMLタグが含まれているとエラーを出します。 Example ======= class Entry < ActiveRecord::Base validates_plaintext_of :title end entry = Entry.new( :title => "<a>link</a>" ) entry.valid? # => false Copyright (c) 2009 Beyond, released under the MIT license
About
no HTML tag, plaintext only
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published