Class: Ixtlan::Gettext::Locale

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
lib/ixtlan/gettext/locale_resource.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.base_modelObject

key for selectng the IdentityMap should remain this class if there is no single table inheritance with Discriminator in place i.e. the subclass used as key for the IdentityMap



32
33
34
# File 'lib/ixtlan/gettext/locale_resource.rb', line 32

def self.base_model
  self
end

.storage_name(arg) ⇒ Object



25
26
27
# File 'lib/ixtlan/gettext/locale_resource.rb', line 25

def self.storage_name(arg)
  'gettext_locales'
end

Instance Method Details

#set_timestamps_on_saveObject

do not record timestamps since they are set from outside



42
43
# File 'lib/ixtlan/gettext/locale_resource.rb', line 42

def set_timestamps_on_save
end