clean rails application