Support Rails 4.x