Hacking in some poor form of rails4 support while awaiting official update