Sha256: b1893bc7226d3d39924b998531f1730f50c5989710726da8b9bbdfd207bcc594

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

class CommunityCategoryFeedback < ActiveRecord::Base
  belongs_to :category, class_name: 'CommunityCategory', counter_cache: 'feedbacks_count'
  belongs_to :feedback
  
  validates :category_id, presence: true
  validates :feedback_id, presence: true
end

Version data entries

1 entries across 1 versions & 1 rubygems

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