make rails 4 happy