Class ActiveRecord::Base
In: lib/gettext_activerecord/base.rb
Parent: Object

Methods

Included Modules

GetText Validations

Public Class methods

Sets the untranslate columns.

 (e.g.)
 Person < ActiveRecord::Base
   untranslate :age, :address
 end

Returns true if the column is set "untranslate".

 (e.g.) untranslate? :foo

Untranslate all of the tablename/fieldnames in this model class.

 (e.g.)
 Person < ActiveRecord::Base
   untranslate_all
 end

Returns true if "untranslate_all" is called. Otherwise false.

[Validate]