some more rails 4 changes