Carrierwave validator from github

http://gist.github.com/chrisbloom7/1009861