13 lines
175 B
Ruby
13 lines
175 B
Ruby
|
|
|
||
|
|
module JamRuby
|
||
|
|
class GenericState < ActiveRecord::Base
|
||
|
|
|
||
|
|
self.table_name = 'generic_state'
|
||
|
|
|
||
|
|
def self.singleton
|
||
|
|
GenericState.find('default')
|
||
|
|
end
|
||
|
|
|
||
|
|
end
|
||
|
|
end
|