Sha256: 6c89751c376d4cf388da271471f8ffeb4aee81e589e3af928899180f55b7fc4c

Contents?: true

Size: 170 Bytes

Versions: 10

Compression:

Stored size: 170 Bytes

Contents

class Company < ActiveRecord::Base
  csv_import_magic company: [:name, :street, :number, :neighborhood, :city, :state, :country]

  validates_numericality_of :number
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
csv_import_magic-0.0.11 spec/dummy/app/models/company.rb
csv_import_magic-0.0.10 spec/dummy/app/models/company.rb
csv_import_magic-0.0.8 spec/dummy/app/models/company.rb
csv_import_magic-0.0.7 spec/dummy/app/models/company.rb
csv_import_magic-0.0.6 spec/dummy/app/models/company.rb
csv_import_magic-0.0.5 spec/dummy/app/models/company.rb
csv_import_magic-0.0.4 spec/dummy/app/models/company.rb
csv_import_magic-0.0.3 spec/dummy/app/models/company.rb
csv_import_magic-0.0.2 spec/dummy/app/models/company.rb
csv_import_magic-0.0.1 spec/dummy/app/models/company.rb