jscruz/hw2_rottenpotatoes — comment on commit f021ba297cbfd7260f128d37a5fbf1559e78de7e
File: app/controllers/movies_controller.rb line 15
By christiangenco:

Not [DRY](http://en.wikipedia.org/wiki/Don't_repeat_yourself), but pretty safe against [SQL injections](http://guides.rubyonrails.org/security.html#sql-injection). Here's [what I did](https://github.com/christiangenco/hw2_rottenpotatoes/commit/f46404204a6de1d27e2408ed0a902aa97982e33f).