Sha256: c6a56df8a2ee99b8c2085024e2ce6fc752bc3ee041a3e0e947d62aa52298c10d
Contents?: true
Size: 313 Bytes
Versions: 4
Compression:
Stored size: 313 Bytes
Contents
module RailsAdminContentBuilder class ContentBuilderCategory < ActiveRecord::Base extend FriendlyId friendly_id :name, use: :slugged self.table_name = 'content_builder_categories' validates :name, presence: true has_many :content_builders, inverse_of: :content_builder_category end end
Version data entries
4 entries across 4 versions & 1 rubygems