Skip to content

Commit b32c700

Browse files
committed
Fix rake tasks.
1 parent 2b39079 commit b32c700

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

config/application.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,4 @@ class Application < Rails::Application
5454
%(<span class="field_with_errors">#{html_tag}</span>).html_safe
5555
}
5656

57-
require "#{Rails.root}/app/jobs/resque_support.rb"
5857
#require 'font_assets/railtie' # => loads font middleware so cloudfront can serve fonts that render in Firefox

lib/awards.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require 'resque_support'
12
module Awards
23
include ResqueSupport::Basic
34

@@ -11,7 +12,7 @@ def award_from_file(filename)
1112
date = row.shift
1213
provider = row.shift
1314
row.to_a.each do |candidate|
14-
puts "award #{badge} to #{candidate}"
15+
Rails.logger.info "award #{badge} to #{candidate}"
1516
enqueue(Award, badge, date, provider, candidate)
1617
end
1718
end
File renamed without changes.

0 commit comments

Comments
 (0)