Class: SQLite3::SQLException

Inherits:
Object
  • Object
show all
Defined in:
lib/og/adapter/sqlite/override.rb

Overview

:nodoc: all

Instance Method Summary collapse

Instance Method Details

#table_already_exists?Boolean

Returns:

  • (Boolean)


27
28
29
30
# File 'lib/og/adapter/sqlite/override.rb', line 27

def table_already_exists?
  # gmosx: any idea how to better test this?
  self.to_s =~ /table .* already exists/i
end