Sha256: 5680c8c16974395973cbab5a632c5b01888a2240ec0b298205497a3b326c1b8c

Contents?: true

Size: 208 Bytes

Versions: 24

Compression:

Stored size: 208 Bytes

Contents

module Spina
  class Structure < ActiveRecord::Base
    has_one :page_part, as: :page_partable
    has_many :structure_items

    accepts_nested_attributes_for :structure_items, allow_destroy: true
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
spina-0.9.0 app/models/spina/structure.rb
spina-0.8.3 app/models/spina/structure.rb
spina-0.8.2 app/models/spina/structure.rb
spina-0.8.1 app/models/spina/structure.rb
spina-0.8.0 app/models/spina/structure.rb
spina-0.7.3 app/models/spina/structure.rb
spina-0.7.2 app/models/spina/structure.rb
spina-0.7.0 app/models/spina/structure.rb
spina-0.6.29 app/models/spina/structure.rb
spina-0.6.28 app/models/spina/structure.rb
spina-0.6.27 app/models/spina/structure.rb
spina-0.6.26 app/models/spina/structure.rb
spina-0.6.25 app/models/spina/structure.rb
spina-0.6.24 app/models/spina/structure.rb
spina-0.6.23 app/models/spina/structure.rb
spina-0.6.22 app/models/spina/structure.rb
spina-0.6.21 app/models/spina/structure.rb
spina-0.6.20 app/models/spina/structure.rb
spina-0.6.19 app/models/spina/structure.rb
spina-0.6.18 app/models/spina/structure.rb