Module: ActiveRecord::StringHelper

Included in:
ConnectionAdapters::SalesforceAdapter, ConnectionAdapters::SalesforceColumn, ConnectionAdapters::SalesforceRelationship
Defined in:
lib/active_record/connection_adapters/column_definition.rb,
lib/active_record/connection_adapters/relationship_definition.rb

Instance Method Summary collapse

Instance Method Details

#column_nameize(s) ⇒ Object



24
25
26
# File 'lib/active_record/connection_adapters/column_definition.rb', line 24

def column_nameize(s)
  s.underscore
end