Sha256: 65ffbeb17fbfaafe2c52c32895bc9faa80a596943244768c53b5638ac3f4cd84

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

module Fooltip
  class Popup < ::ActiveRecord::Base
    translates :title, :content, fallbacks_for_empty_translations: true
    accepts_nested_attributes_for :translations
    has_many :links, dependent: :destroy
    has_many :containers, through: :links
    validates :identifier, presence: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fooltip-0.0.13 app/models/fooltip/popup.rb