Sha256: a573328c96e59096efaf10d023b312f9bf559e0f6bacc6fc6d32054406695ea2
Contents?: true
Size: 363 Bytes
Versions: 22
Compression:
Stored size: 363 Bytes
Contents
module Symphonia class AdminModule < ApplicationRecord self.table_name = 'admin_modules' belongs_to :user store :settings, coder: JSON validates :title, presence: true validates :panel_type, inclusion: { in: %w(default primary success info warning danger) } def body_path # override me self.description end end end
Version data entries
22 entries across 22 versions & 1 rubygems