Sha256: 8000662b686be81411c5f7201858969bcdac2db3f06fec91fd970acb6d2f7bae
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
class FastGettext::TranslationRepository::DB::TranslationKey < ActiveRecord::Base has_many :translations, :class_name=>'TranslationText' validates_uniqueness_of :key validates_presence_of :key # TODO this should not be necessary, but # TranslationKey.respond_to? :available_locales # returns true even if this is not defined... def self.available_locales [] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grosser-fast_gettext-0.4.3 | lib/fast_gettext/translation_repository/db/translation_key.rb |