Dept app on rails