Support Rails 4.2