Allows gem to use rails 4.0