#StackBounty: #ruby-on-rails #ruby-on-rails-4 Rails – detach model from database session

Bounty: 50

I came across a scenario where in other languages I would detach the model object from the transaction then I can alter it all I want without worry of an automatic-update to the record.


  1. Does rails not support attachingdetaching a model object?

  2. What is the alternative, just duplicate the object?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.