Module: CsvRails::ActiveRecord::ClassMethods

Defined in:
lib/csv_rails/active_record.rb

Instance Method Summary collapse

Instance Method Details

#attribute_namesObject



13
14
15
# File 'lib/csv_rails/active_record.rb', line 13

def attribute_names
  column_names.map(&:to_sym)
end