Allowing use with Rails 4