add Rails file