Sha256: 7adf23945d784b2643861b84aa82b1907d7568c838d437bb7dbeb1081facbc68

Contents?: true

Size: 232 Bytes

Versions: 14

Compression:

Stored size: 232 Bytes

Contents

class PeakFlowUtils::TranslationKey < PeakFlowUtils::ApplicationRecord
  has_many :handler_translations, dependent: :destroy
  has_many :translation_values, dependent: :destroy

  def last_key
    key.to_s.split(".").last
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
peak_flow_utils-0.1.19 lib/peak_flow_utils/models/translation_key.rb
peak_flow_utils-0.1.18 lib/peak_flow_utils/models/translation_key.rb
peak_flow_utils-0.1.17 lib/peak_flow_utils/models/translation_key.rb
peak_flow_utils-0.1.16 lib/peak_flow_utils/models/translation_key.rb
peak_flow_utils-0.1.15 lib/peak_flow_utils/models/translation_key.rb
peak_flow_utils-0.1.14 lib/peak_flow_utils/models/translation_key.rb
peak_flow_utils-0.1.13 lib/peak_flow_utils/models/translation_key.rb
peak_flow_utils-0.1.12 lib/peak_flow_utils/models/translation_key.rb
peak_flow_utils-0.1.11 app/models/peak_flow_utils/translation_key.rb
peak_flow_utils-0.1.10 app/models/peak_flow_utils/translation_key.rb
peak_flow_utils-0.1.9 app/models/peak_flow_utils/translation_key.rb
peak_flow_utils-0.1.8 app/models/peak_flow_utils/translation_key.rb
peak_flow_utils-0.1.7 app/models/peak_flow_utils/translation_key.rb
peak_flow_utils-0.1.6 app/models/peak_flow_utils/translation_key.rb