adding theoretical instructions for rails integration