Sha256: d3ae544fa3efada4a9e8a3c2067e1205888c5d69b4468a4dcdf652752e4ffce6

Contents?: true

Size: 161 Bytes

Versions: 23

Compression:

Stored size: 161 Bytes

Contents

class Comment < ActiveRecord::Base
  belongs_to :post, inverse_of: :comments
  belongs_to :author, class_name: "BaseUser"

  validates :post, presence: true
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
bullet-5.6.0 spec/models/comment.rb
bullet-5.5.1 spec/models/comment.rb
bullet-5.5.0 spec/models/comment.rb
bullet-5.4.3 spec/models/comment.rb
bullet-5.4.2 spec/models/comment.rb
bullet-5.4.1 spec/models/comment.rb
bullet-5.4.0 spec/models/comment.rb
bullet-5.3.0 spec/models/comment.rb
bullet-5.2.1 spec/models/comment.rb
bullet-5.2.0 spec/models/comment.rb
bullet-5.1.1 spec/models/comment.rb
bullet-5.1.0 spec/models/comment.rb
bullet-5.0.0 spec/models/comment.rb
bullet-4.14.10 spec/models/comment.rb
bullet-4.14.9 spec/models/comment.rb
bullet-4.14.8 spec/models/comment.rb
bullet_instructure-4.14.8 spec/models/comment.rb
bullet-4.14.7 spec/models/comment.rb
bullet_instructure-4.14.7 spec/models/comment.rb
bullet-4.14.6 spec/models/comment.rb