I\'m upgrading an app from rails 3.something to rails 5. For some reason, I\'m am getting undefindied method respond_to anytime I use that method in any of my controllers.
As per Rails 5 release notes,
Remove respond_to/respond_with placeholder methods, this functionality has been extracted to the responders gem.
Add responders gem to your Gemfile.
responders