upgrades to rails 4.1.8 and uses new rails 3 stuff