mileszs/wicked_pdf — pull request #116 by clod81 (2012-05-15 20:50:55+00:00)
Title: Fix deprecation warning in rails 3

In lib/wicked_pdf.rb change the method in_development_mode?, to be:

def in_development_mode?
return Rails.env == 'development' if defined?(Rails)
RAILS_ENV == 'development'
end