lib/trucker.rb in trucker-0.5.0 vs lib/trucker.rb in trucker-0.5.1

- old
+ new

@@ -5,11 +5,11 @@ label = options.delete(:label) if options[:label] unless options[:helper] # Grab model to migrate - model = name.to_s.singularize.capitalize + model = name.to_s.classify # Wipe out existing records model.constantize.delete_all # Status message @@ -45,6 +45,6 @@ def self.offset_for_records nil || ENV['offset'].to_i if ENV['offset'].to_i > 0 end -end \ No newline at end of file +end