replaced rails3 with rails