- You need to add error checking in here, type some shit in the input box and then have a look at json['Error'] in the params hash; 
- Store the value in an instance variable and add some error checking into the movies.erb view; 
-Let me know if you have questions, something like <% if @movie_errors %>...........