modify rails