Class FastGettext::TranslationRepository::Db
In: lib/fast_gettext/translation_repository/db.rb
Parent: Object

Responsibility:

 - provide access to translations in database through a database abstraction

 Options:
  :model => Model that represents your keys
  you can either use the models supplied under db/, extend them or build your own
  only constraints:
    key: find_by_key, translations
    translation: text, locale

Methods

Public Class methods

Public Instance methods

[Validate]