Rails Testing: Reload the Model

1 · Kevin Jalbert · July 31, 2021, 11:23 p.m.
A beginner in Rails might find themselves testing a model and not seeing the attributes reflecting the changes they would expect to see. Read about why this problem happens and how you can resolve it by reloading the model....