fixes #2985 - remove #as_json method from AR models since rabl views used for API
fixes #2986 - remove #show method from controllers and routes.rb when not used