some rails things for pryrc