for use with rails training