Loos
9 years ago
5 changed files with 14 additions and 11 deletions
@ -1,10 +0,0 @@ |
|||
task :load_recyclery_bike_db => :environmnent do |
|||
puts "destroying old bike data" |
|||
Bike.all.destroy |
|||
file = "lib/assets/recyclery_bike_log.txt" |
|||
puts "loading bike database from #{file}" |
|||
File.foreach(file) do |line| |
|||
data = line.split("|") |
|||
end |
|||
end |
|||
|
Loading…
Reference in new issue