Obtain the stored values of a modified Rails model object

Posted by J. Pablo Fernández on Stack Overflow See other posts from Stack Overflow or by J. Pablo Fernández
Published on 2010-03-20T18:15:30Z Indexed on 2010/03/20 18:21 UTC
Read the original article Hit count: 264

Filed under:
|

Is there a way to obtain the stored value, that is, the one in the database once the instance has been modified?

The problem I'm trying to solve is get the stored slug of an object that failed to save to be able to regenerate the URL.

© Stack Overflow or respective owner

Related posts about rails

Related posts about actverecord