Attempting to circumvent Rails 4 bug