no HTML tag, plaintext only
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
tasks
test
MIT-LICENSE
README
Rakefile
init.rb
install.rb
uninstall.rb

README

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