add rails and ember