From 04bfa9420c8d42b1814fe9ebf3c0e85999c827a4 Mon Sep 17 00:00:00 2001 From: Aart van Halteren Date: Sun, 23 Oct 2022 13:42:52 +0200 Subject: [PATCH] Bug fix --- .gitignore | 3 +++ .project | 1 - app/helpers/TariffsMailer.rb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4ef1577 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.local +.config +.project diff --git a/.project b/.project index 0a8a20e..459fb3a 100644 --- a/.project +++ b/.project @@ -7,7 +7,6 @@ - com.aptana.projects.webnature com.aptana.ruby.core.rubynature diff --git a/app/helpers/TariffsMailer.rb b/app/helpers/TariffsMailer.rb index 3d1fc8a..b7a816f 100644 --- a/app/helpers/TariffsMailer.rb +++ b/app/helpers/TariffsMailer.rb @@ -18,7 +18,7 @@ class TariffsMailer # Create png file c = Cost.new - c.easy_energy_tariff_barplot(Date.today) + c.easy_energy_tariff_barplot(date) mail = Mail.new do delivery_method :smtp, smtp_opts