mhfs / devise-async

Send Devise's emails in background. Supports Resque, Sidekiq, Delayed::Job and QueueClassic.
MIT License
575 stars 110 forks source link

#deliver will be removed in Rails 5; replace with #deliver_now #59

Closed barelyknown closed 9 years ago

barelyknown commented 10 years ago

I'm running my test suite using Rails 4.2.0.rc1 (coming from 4.1.16). I'm receiving the following deprecation warning.

DEPRECATION WARNING: `#deliver` is deprecated and will be removed in Rails 5.
Use `#deliver_now` to deliver immediately or `#deliver_later` to deliver through Active Job.

This line just needs to be adjusted to handle the new approach.