rails 4 hacks