supports rails 4.2