Support Rails 4.1.