handle one more Rails 4 breaking change