Hi Xavier.
Right you are about the files and autoloading. All of the files that I was meta~programming were just ActiveRecord models, so what I did was take what was being instance/class_eval'd and dumped it into a model class.
So now when I make a change to the model, say change up a workflow (which is really a gui version of AASM with several modifications) or add a new has_many field and need these changes to take effect they will because the model file will be re-written at the end of that process.. Ok, so that is good for right now, but I need to demo this on a production server asap. So really my problem is convincing the production server that it needs to re-compile this model. I am reading up of a good way to do this but unfortunately I haven't found anything that will help me...yet. Phusion Passenger will allow you to re-start the app but doesn't have any way to tell it to recompile a file based on the last time it was modified.
I have my ear to the ground if anyone has any ideas. As of right now, I am not sure this is possible but...there is always a way ;)
Back in a bit!
Cheers,
Mark