Extended rails integration.