Class: ActiveRecord::ConnectionAdapters::AbstractAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/connection_adapters/abstract_adapter.rb

Instance Method Summary collapse

Instance Method Details

#constraints(table_name, name = nil) ⇒ Object

Raises:

  • (NotImplementedError)


43
44
45
# File 'lib/connection_adapters/abstract_adapter.rb', line 43

def constraints(table_name, name=nil)
  raise NotImplementedError, "AbstractAdapter subclass #{self.class} did not implement this method"
end