[Ethan]Resolve rails 4 deprecation

-Discovered via Quimbee by running cucumbers