cleanup Rails specific stuff

cleanup Rails specific stuff