Class: SchemaPlus::ActiveRecord::DbDefault

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/schema_plus/active_record/db_default.rb

Instance Method Summary collapse

Instance Method Details

#idObject


10
11
12
# File 'lib/schema_plus/active_record/db_default.rb', line 10

def id
  self
end

#quoted_idObject


13
14
15
# File 'lib/schema_plus/active_record/db_default.rb', line 13

def quoted_id
  self
end

#to_sObject


7
8
9
# File 'lib/schema_plus/active_record/db_default.rb', line 7

def to_s
  'DEFAULT'
end