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