allow support in Rails 4