prior / prawnto

a featureful rails plugin leveraging the new kickass prawn library to produce compiled pdf views
http://cracklabs.com/prawnto
MIT License
316 stars 101 forks source link

Deprecation Warning During Tests Under Rails 3.1 #14

Open ghost opened 13 years ago

ghost commented 13 years ago

When I run my tests, I get this:

DEPRECATION WARNING: Inheriting from ActionView::Template::Handler is deprecated. Since Rails 3, all the API your template handler needs to implement is to respond to #call. (called from module:TemplateHandlers at
/Users/leigh/Programming/wapp_dev/cdjobs/vendor/plugins/prawnto/lib/prawnto/template_handlers/base.rb:3)

Prawnto works perfectly in the app.

**Leigh

forrest commented 13 years ago

Hey Leigh,

I'm working on a fork right now, where I've combined a number of updates and brought it up to Rails 3.1. You can check it out at https://github.com/forrest/prawnto

Best of luck,

Forrest