Attempt to fix Rails 4.0