Lower dependencies of rails and devise

qq