Sha256: aa2d1c59a0df0f5ef82c5477b387e9ecd8304efe072d3f1c784110c8db66b148

Contents?: true

Size: 273 Bytes

Versions: 1

Compression:

Stored size: 273 Bytes

Contents

class Reply < ActiveRecord::Base
  include Likeable
  
  belongs_to :feedback
  belongs_to :user
  belongs_to :reply
  
  has_many :replies
  
  validates :user_id, presence: true
  validates :text, presence: true
  
  attr_accessible :text
  
  attr_accessor :positive
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voluntary_feedback-0.1.0 app/models/reply.rb