changed downcase to underscore in mongoid_transition_generator