better rails integration