for Rails 4.1, use Devise master (see #282)