Fix quoting on new rails versions