Class: InternalMetadata

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/apartment/active_record/internal_metadata.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.table_exists?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/apartment/active_record/internal_metadata.rb', line 5

def table_exists?
  connection.table_exists?(table_name)
end