Sha256: ab715a49f74f8b24b77e2e321dbd3bb086aec5f05ff3a26b4bb69b8fc81f3def

Contents?: true

Size: 153 Bytes

Versions: 6

Compression:

Stored size: 153 Bytes

Contents

class Article < ActiveRecord::Base
  validates_presence_of :title
  validates_uniqueness_of :title
  validates_length_of :description, :minimum => 3
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gettext-1.10.0-mswin32 test/rails/app/models/article.rb
gettext-1.10.0 test/rails/app/models/article.rb
gettext-1.91.0 test/rails/app/models/article.rb
gettext-1.90.0 test/rails/app/models/article.rb
gettext-1.92.0 test/rails/app/models/article.rb
gettext-1.93.0 test/rails/app/models/article.rb