This project is archived and is in readonly mode.
reload inconsistent in AR
-
David Trasbo
Whether or not that's inconsistent is rather subjective. Of course, if you try to reload a Active Record object that doesn't exist in the database anymore that should cause an error and it does.
But personally I'd be very surprised to see an error when reloading an empty association. I definitely think this is the intended behavior. Why don't you just check to see if
#reloadreturnsnil? -
Rohit Arondekar
- State changed from new to wontfix
- Importance changed from to Low
