Class: ActiveRecord::ConnectionAdapters::Column

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

Instance Method Summary collapse

Instance Method Details

#is_nullable?Boolean

Note that this does not equate to a NOT NULL constraint, as the DB will still accept null values for columns with NOT NULL constraints under certain conditions

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/connection_adapters/abstract/schema_definitions.rb', line 9

def is_nullable?
  raise NotImplementedError, "Column subclass did not implement this method"
end