In Rails 3.1, I want to create an embedded object by using a create method that accepts parameter data, but I am wondering if there is a more elegant way to do this than the case method below:In Rails 3.1, I want to create an embedded obje
In Rails 3.1, I want to create an embedded object by using a create method that accepts parameter data, but I am wondering if there is a more elegant way to do this than the case method below:In Rails 3.1, I want to create an embedded obje