updated to RoR 4