Sha256: 42d074caeb49cf5fab3b205aed4a4f64e23d94724a2bc37dfdf2720758908f94

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

module Spina
  class Line < ApplicationRecord
    extend Mobility
    translates :content, fallbacks: true

    has_many :page_parts, as: :page_partable
    has_many :layout_parts, as: :layout_partable
    has_many :structure_parts, as: :structure_partable
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spina-1.2.0 app/models/spina/line.rb
spina-1.1.4 app/models/spina/line.rb
spina-1.1.3 app/models/spina/line.rb
spina-1.1.2 app/models/spina/line.rb
spina-1.1.1 app/models/spina/line.rb
spina-1.1.0 app/models/spina/line.rb