{"action":"created","issue":{"url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/77","labels_url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/77/comments","events_url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/77/events","html_url":"https://github.com/ga-dc/wdidc5-project3/issues/77","id":76427781,"number":77,"title":"rails not rendering json","user":{"login":"nclevine","id":10224235,"avatar_url":"https://avatars.githubusercontent.com/u/10224235?v=3","gravatar_id":"","url":"https://api.github.com/users/nclevine","html_url":"https://github.com/nclevine","followers_url":"https://api.github.com/users/nclevine/followers","following_url":"https://api.github.com/users/nclevine/following{/other_user}","gists_url":"https://api.github.com/users/nclevine/gists{/gist_id}","starred_url":"https://api.github.com/users/nclevine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nclevine/subscriptions","organizations_url":"https://api.github.com/users/nclevine/orgs","repos_url":"https://api.github.com/users/nclevine/repos","events_url":"https://api.github.com/users/nclevine/events{/privacy}","received_events_url":"https://api.github.com/users/nclevine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-14T17:21:24Z","updated_at":"2015-05-14T20:28:38Z","closed_at":null,"body":"here is the method i am calling:\r\n\r\n```\r\ndef search\r\n    search_term = params[:keyword]\r\n    url = \"http://www.vam.ac.uk/api/json/museumobject/search?images=1&q=#{search_term}\"\r\n    @response = HTTParty.get(url)\r\n    render json: @response\r\nend\r\n```\r\n\r\nit isn't returning anything. when i manually go to the url `victoriaalbert?keyword=sculpture` to simulate a call to the method, i get this `content-typecontent-lengthconnectiondateviavaryx-ua-compatibleserver` the same structure of code is used for my other apis and it works fine. also if i write `render json: @response.to_json` it actually loads the response, just formatted like crap with `\\n` everywhere"},"comment":{"url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/comments/102158118","html_url":"https://github.com/ga-dc/wdidc5-project3/issues/77#issuecomment-102158118","issue_url":"https://api.github.com/repos/ga-dc/wdidc5-project3/issues/77","id":102158118,"user":{"login":"RobertAKARobin","id":6268177,"avatar_url":"https://avatars.githubusercontent.com/u/6268177?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertAKARobin","html_url":"https://github.com/RobertAKARobin","followers_url":"https://api.github.com/users/RobertAKARobin/followers","following_url":"https://api.github.com/users/RobertAKARobin/following{/other_user}","gists_url":"https://api.github.com/users/RobertAKARobin/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertAKARobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertAKARobin/subscriptions","organizations_url":"https://api.github.com/users/RobertAKARobin/orgs","repos_url":"https://api.github.com/users/RobertAKARobin/repos","events_url":"https://api.github.com/users/RobertAKARobin/events{/privacy}","received_events_url":"https://api.github.com/users/RobertAKARobin/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T20:28:38Z","updated_at":"2015-05-14T20:28:38Z","body":"Can you paste the text of the error?"}}