Duplicating a record in Rails 3
问题 I have a prescription model in my Rails 3 application. I am trying to work out the best method of allowing records to be duplicated, but allowing the user to "review" the duplicate before it's saved. I have read a number of questions/answers on SO (such as this one) which explain how to duplicate/clone the record and then save it - but none which explain how to show the form before save. Reading the Rails API is appears the clone method is available. Reading other questions and answers shows