Sha256: 07deb42d556f0a61a6b946986743fe5780a22b8d8a0878375c57b9539a57318d
Contents?: true
Size: 674 Bytes
Versions: 2
Compression:
Stored size: 674 Bytes
Contents
module Enjoy::Pages module Models module Mongoid module Blockset extend ActiveSupport::Concern included do field :name, type: String, default: "" embeds_many :blocks, inverse_of: :blockset, class_name: "Enjoy::Pages::Block" accepts_nested_attributes_for :blocks, allow_destroy: true field :use_wrapper, type: Boolean, default: false field :wrapper_tag, type: String, default: "" field :wrapper_class, type: String, default: "" field :wrapper_id, type: String, default: "" field :wrapper_attributes, type: Hash, default: {} end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enjoy_cms_pages-0.4.1 | lib/enjoy/pages/models/mongoid/blockset.rb |
enjoy_cms_pages-0.4.0 | lib/enjoy/pages/models/mongoid/blockset.rb |