all code rails