Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added timestamp to the excel export

  • Loading branch information...
commit 39e83506471699d11e04635b927003df62ae4644 1 parent 08caf02
Matt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/trademark.rb
2  app/models/trademark.rb
View
@@ -187,7 +187,7 @@ def self.excel
end
end
- File.open("trademark_excel_export.csv", "w") do |f|
+ File.open("trademark-excel-export-#{Time.now.strftime("%m-%d-%Y-%I_%M%p")}.csv", "w") do |f|
f.puts csv_string
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.