Sha256: 355de7dffff5395ea9ca6c7b48cf78379e2bdd93da8543a085761f86c83e42ee

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

module FastGettext::TranslationRepository
  module DBModels
    class TranslationText < ActiveRecord::Base
      belongs_to :key, :class_name=>'TranslationKey'
      validates_presence_of :locale, :text
      validates_uniqueness_of :locale, :scope=>:translation_key_id
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grosser-fast_gettext-0.4.4 lib/fast_gettext/translation_repository/db_models/translation_text.rb