Added Rails support