Skip to content

Instantly share code, notes, and snippets.

@jccarbonfive
Created January 22, 2013 03:17
Show Gist options
  • Save jccarbonfive/4591782 to your computer and use it in GitHub Desktop.
Save jccarbonfive/4591782 to your computer and use it in GitHub Desktop.
class Account < ActiveRecord::Base
attr_accessible :name,
:account_type,
:balance
def self.import(file, account_importer = CsvAccountImporter.new)
account_importer.import file
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment