more rails 4 compat