rails create reference from a param to db code example Example: how create migration rails rails g migration AddPartNumberToProducts