Sha256: cb214923ec092cc17e1642494e62f14e0fd2b64780d1a2ab91347169324d8ff9

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

module Blacksand
  class Template < ActiveRecord::Base
    serialize :options, JSON
    store_accessor :options,  :preferred_child_template_name, :preferred_child_prototype_name

    validates :name, :path, presence: true

    has_many :pages, dependent: :nullify
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacksand-2.5.0 app/models/blacksand/template.rb
blacksand-2.4.1 app/models/blacksand/template.rb
blacksand-2.4.0 app/models/blacksand/template.rb