lib/dataload/loader.rb in GFunk911-dataload-0.3.1 vs lib/dataload/loader.rb in GFunk911-dataload-0.3.3
- old
+ new
@@ -122,12 +122,5 @@
dsl.instance_eval(&b)
dsl.loader.load!
puts "Row Count: " + dsl.loader.ar.find(:all).size.to_s
end
-dataload do
- source "source.csv"
- database :adapter => 'sqlite3', :database => "db.sqlite3", :timeout => 5000
- table 'foobar'
- string(:cat) { bar + "_cat" }
-end
-