rails integration adjustments