rails integration