Sha256: f5333b7ebecdc0495bf2cecdfdafa3c43983ed9cba4d178964484db997318749

Contents?: true

Size: 139 Bytes

Versions: 3

Compression:

Stored size: 139 Bytes

Contents

class Post < ActiveRecord::Base
  validates :title, presence: true, numericality: {less_than: 15}
  validates :title, acceptance: true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bootstrap_validator_rails-0.1.2 test/dummy/app/models/post.rb
bootstrap_validator_rails-0.1.1 test/dummy/app/models/post.rb
bootstrap_validator_rails-0.1.0 test/dummy/app/models/post.rb