fixed my bug - moved to model and not controller
Merge pull request #13 from nicholalexander/thumbs_up

fixed my bug - moved to model and not controller