Sha256: 35bd7a0c957463fe8650dc52885d8b27f7aaa9c00b0f1c56e13e4d6132ecc880

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

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

    has_many :fields, dependent: :destroy

    accepts_nested_attributes_for :fields

    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/prototype.rb
blacksand-2.4.1 app/models/blacksand/prototype.rb
blacksand-2.4.0 app/models/blacksand/prototype.rb