-You need to check that the API returns valid JSON data and not an error;
-When you type in a movie that does not exist have a look at the json hash and you will see an Error key; 
-Store this in an instance variable and then check if the variable has been populated in the query.erb;  

![image](https://f.cloud.github.com/assets/3854347/2352241/f3d56484-a586-11e3-8aa3-45c383d5d24e.png)