app/models/phcmemberspro/directory/category.rb in phcmemberspro-7.8.11 vs app/models/phcmemberspro/directory/category.rb in phcmemberspro-7.8.12
- old
+ new
@@ -4,10 +4,10 @@
# Add Paper Trail
has_paper_trail
# Model Relationship
has_many :listings, class_name: 'Directory::Listing', dependent: :destroy
- has_many :businesses, class_name: 'Members::Business', :through => :listings
+ has_many :businesses, class_name: 'Members::Business', :through => :listings
# Validation for Form Fields
validates :catname,
presence: true,
uniqueness: {scope: :oganization_id},