Sha256: 25e5d4a2b2d2e2ba7f49c8c717247704223891f4395dea7f5fbc0c0a1db04e61
Contents?: true
Size: 339 Bytes
Versions: 5
Compression:
Stored size: 339 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(ENV["GTRON_ENV"] || GTRON_ENV) end
Version data entries
5 entries across 5 versions & 2 rubygems