Sha256: a94d7630986e3121200668365b7cd9f55023a01ec86c2f58babf58bd76ccbe2d
Contents?: true
Size: 410 Bytes
Versions: 28
Compression:
Stored size: 410 Bytes
Contents
module Phcmembers class Directory::Catlist < ActiveRecord::Base # Model Relationship belongs_to :category, class_name: 'Directory::Category' belongs_to :listing, class_name: 'Members::Listing' # Validation for Form Fields (More of a Self-Check) validates :listing_id, presence: true # Validation for Form Fields (More of a Self-Check) validates :category_id, presence: true end end
Version data entries
28 entries across 28 versions & 1 rubygems