Support Rails 4 final