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