ruby on rails integration