Sha256: 800e44266f2ba87c16797679f8bf8a66412991fb2539ec2689d742f3d6566099

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

desc "Import data into the database"
task :import do
  # Acquire your data (e.g. from input/ or something) and parse it into
  # your database.  Your models should probably be the ones doing the heavy
  # lifting on this one.
  #
  # Ex:
  #   Foo.import_yaml(FileList["input/*.yml"].to_a)
  get_db_conn(GTRON_ENV)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gigantron-0.0.1 app_generators/gigantron/templates/tasks/import.rake