Create a controller that will handle errors: class ErrorsController < ApplicationController def routing render_404 end def render_404 render :json => {:status => “error”, :response_code => 404, :message => “no route found that match your request, please check your parameters and try again”, :results => {} }.to_json end […]