In the RSpec test, I create an entry with several memoizied values.
foo.reload works as expected for the attributes of the object, but memoized is still present.
While it works, completely recreating the object: foo = Foo.find(123) , but in my case, the logic for finding a record is actually more complicated.
What a good, DRY way to completely reload the record and erase all the values ββyou notice?
source share