Sha256: 7d80753e31f7d95fd52da6f6a19a3c81fb7c5ec9606a41573e52b7303bdeb866

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.5 lib/fast_gettext/translation_repository/db_models/translation_text.rb