Module: ActiveRecord::Mlang::Text

Included in:
LangText
Defined in:
lib/active_record/mlang/text.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
# File 'lib/active_record/mlang/text.rb', line 4

def self.included(base)
  base.extend ClassMethods
  base.belongs_to :lang
  base.set_parent_reflection
end