Revision
14611
Author
diegoviola
Date
2009-08-23 21:09:20 -0500 (Sun, 23 Aug 2009)

Log Message

replaced ARGV with name of the file

Modified Paths

Diff

Modified: freeswitch/trunk/contrib/diegoviola/ruby/callcard/load_rates.rb (14610 => 14611)


--- freeswitch/trunk/contrib/diegoviola/ruby/callcard/load_rates.rb	2009-08-24 00:41:24 UTC (rev 14610)
+++ freeswitch/trunk/contrib/diegoviola/ruby/callcard/load_rates.rb	2009-08-24 02:09:20 UTC (rev 14611)
@@ -15,7 +15,7 @@
 class Destination < ActiveRecord::Base
 end
 
-FasterCSV.foreach(ARGV.to_s) do |row|
+FasterCSV.foreach('outbound_rates.csv') do |row|
   destination = Destination.new(:country => row[0], :prefix => row[1], :rate => row[4])
   destination.save
 end