Sha256: 814d91b818d468e6aae17ce2e3f78f083a7872398cc942e828be5efe0a34bf9e

Contents?: true

Size: 226 Bytes

Versions: 16

Compression:

Stored size: 226 Bytes

Contents

class Comment < ActiveRecord::Base

  ##
  # Validations
  #

  validates :email, :presence => true
  validates :body, :presence => true
  validates :name, :presence => true

  ##
  # Associations
  #

  belongs_to :post

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
typus-3.0.11.rc5 test/fixtures/rails_app/app/models/comment.rb
typus-3.0.11.rc4 test/fixtures/rails_app/app/models/comment.rb
typus-3.0.11.rc3 test/fixtures/rails_app/app/models/comment.rb
typus-3.1.0.rc7 test/fixtures/rails_app/app/models/comment.rb
typus-3.1.0.rc6 test/fixtures/rails_app/app/models/comment.rb
typus-3.1.0.rc5 test/fixtures/rails_app/app/models/comment.rb
typus-3.1.0.rc4 test/fixtures/rails_app/app/models/comment.rb
typus-3.1.0.rc3 test/fixtures/rails_app/app/models/comment.rb
typus-3.1.0.rc2 test/fixtures/rails_app/app/models/comment.rb
typus-3.0.11.rc2 test/fixtures/rails_app/app/models/comment.rb
typus-3.0.11.rc1 test/fixtures/rails_app/app/models/comment.rb
typus-3.1.0.rc1 test/fixtures/rails_app/app/models/comment.rb
typus-3.0.10 test/fixtures/rails_app/app/models/comment.rb
typus-3.0.9 test/fixtures/rails_app/app/models/comment.rb
typus-3.0.8 test/fixtures/rails_app/app/models/comment.rb
typus-3.0.7 test/fixtures/rails_app/app/models/comment.rb