Sha256: 6c022120c61ba5b7eba177313accace7552eab1caf43f11dca7e68acc84998d2

Contents?: true

Size: 169 Bytes

Versions: 17

Compression:

Stored size: 169 Bytes

Contents

class Comment < ActiveRecord::Base
  belongs_to :user

  attr_accessible :name, :comment, :user_id, :votes

  validates :name, :comment, :user_id, :presence => true
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
merit-1.1.1 test/dummy/app/models/comment.rb
merit-1.1.0 test/dummy/app/models/comment.rb
merit-1.0.1 test/dummy/app/models/comment.rb
merit-1.0.0 test/dummy/app/models/comment.rb
merit-0.10.1 test/dummy/app/models/comment.rb
merit-0.10.0 test/dummy/app/models/comment.rb
merit-0.9.5 test/dummy/app/models/comment.rb
merit-0.9.4 test/dummy/app/models/comment.rb
merit-0.9.3 test/dummy/app/models/comment.rb
merit-0.9.2 test/dummy/app/models/comment.rb
merit-0.9.1 test/dummy/app/models/comment.rb
merit-0.9.0 test/dummy/app/models/comment.rb
merit-0.8.1 test/dummy/app/models/comment.rb
merit-0.8.0 test/dummy/app/models/comment.rb
merit-0.7.1 test/dummy/app/models/comment.rb
merit-0.7.0 test/dummy/app/models/comment.rb
merit-0.6.3 test/dummy/app/models/comment.rb