Adds Rails support