allow usage with rails 4.1