fixing guide for rails integration