draper icon indicating copy to clipboard operation
draper copied to clipboard

Breaks respond_with in Rails API apps

Open heaven opened this issue 4 years ago • 2 comments

The gem includes ActionView::Rendering to the API controllers, which breaks respond_to. I'm not sure whether this is an issue in the Draper gem or the Responders gem should find a more reliable way to handle this than checking for the inclusion of ActionView::Rendering. But these two gems don't work together.

This issue: https://github.com/heartcombo/responders/issues/154

heaven avatar Mar 19 '21 13:03 heaven

Any ideas?

DSKonstantin avatar May 20 '21 14:05 DSKonstantin

Is there a workaround for this?

Otherwise, am I correct in saying this gem cannot be used with devise?

alecvn avatar Oct 08 '21 06:10 alecvn