Here’s something that caused me a couple of hours of head-scratching
Apparently, if your model doesn’t derive from ActiveRecord, it is NOT
reloaded for each operation in the development environment.
I was working with something that uses a single model per session, and
stores its data in the session. I kept wondering why I didn’t see my
changes. Finally, I changed the way I was naming a temporary file, and
saw that it was distinctly NOT changed in the running application.
A light went on, I restarted the server, and things went much better
I suspect there’s an easy way to force the re-loading. Anybody know what