With activerecord there can be more than one instance in memory
representing the same database object, and this is what happens here
(association ‘backlinks’ are not preloaded for you - there’s a fresh
database access). Since your date attribute isn’t persisted to the
database at all, this is to be expected unfortunately.
With activerecord there can be more than one instance in memory
representing the same database object, and this is what happens here
(association ‘backlinks’ are not preloaded for you - there’s a fresh
database access). Since your date attribute isn’t persisted to the
database at all, this is to be expected unfortunately.
Fred
Gotcha. Now I can stop pulling my hair out and find another path.
Thanks, Fred.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.