Adding Rails support