draper
draper copied to clipboard
Breaks respond_with in Rails API apps
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
Any ideas?
Is there a workaround for this?
Otherwise, am I correct in saying this gem cannot be used with devise?