Hi, so basically I'm starting with Rails (moving from Coldfusion/Java).
I'm following the Agile development with rails book, and I have this
method in my model, called 'add_to_cart', called from the controller.
Now I was modifying this method, reloaded the page, and noticed my
changed were not being taken into account. I tried clearing the browser
cache, nothing. I tried adding debug message in the method body,
nothing. I tried DELETING THE WHOLE METHOD - nothing - it was still
functionning as if the method was still there.
In CF it's called 'bytecode templates' and they can be easily cleared
when CF chokes on them. I was wondering if there is such a think in
rails - or even better, a way to prevent rails from caching the model
at all when in 'development' mode.