Module: HasManyTranslations::ClassMethods
- Defined in:
- lib/has_many_translations.rb
Instance Method Summary collapse
Instance Method Details
#translated(options = {}, &block) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/has_many_translations.rb', line 19 def translated( = {}, &block) return if translated? include Options include TranslationJobs include Creation include Translations () has_many :translations, , &block end |