upgraded rails - stole galleriffic from https://github.com/hashtable/galleriffic/