trim gems
added cancan with fix for rails 4