Adding Support for Rails 4