typo in the rake task

This commit is contained in:
Ilya Zhitomirskiy 2011-10-31 17:06:24 -07:00
parent eb223bee79
commit 4be75a255f

View file

@ -17,7 +17,8 @@ namespace :stats do
end end
end end
emails = Notifier.admin( "here are some retention stats", admins, {:subject => "retention numbers #{Time.now.to_s}", :attachments => [:name => "retention_numbers_#{Time.now.to_s}.csv", :file => string]}) emails = Notifier.admin( "here are some retention stats", admins, {:subject => "retention numbers #{Time.now.to_s}",
:attachments => [{:name => "retention_numbers_#{Time.now.to_s}.csv", :file => string}]})
emails.each {|e| e.deliver!} emails.each {|e| e.deliver!}
end end
end end