Added Rails integration