Module: HasManyTranslations

Extended by:
Configuration
Defined in:
lib/has_many_translations.rb,
lib/has_many_translations/control.rb,
lib/has_many_translations/options.rb,
lib/has_many_translations/creation.rb,
lib/has_many_translations/translated.rb,
lib/has_many_translations/translation.rb,
lib/has_many_translations/translations.rb,
lib/has_many_translations/configuration.rb

Overview

The base module that gets included in ActiveRecord::Base. See the documentation for HasManyTranslations::ClassMethods for more useful information.

Defined Under Namespace

Modules: ClassMethods, Configuration, Control, Creation, Options, Translated, Translations Classes: Translation

Class Method Summary collapse

Methods included from Configuration

configure, method_missing, options

Class Method Details

.included(base) ⇒ Object

:nodoc:



11
12
13
14
15
16
# File 'lib/has_many_translations.rb', line 11

def self.included(base) # :nodoc:
  base.class_eval do
    extend ClassMethods
    extend Translated
  end
end