Is it possible to inject code from script into running rails app
Assume I have a running ruby on rails app.
I’m creating classes (db-models) defined by a description provided at runtime.

Right now, I’m using the rails app (via browser) to trigger the code generation — and therefore the app “knows” about its new classes. 

But, is it possible to inject code from scripts executed inside the rails app directory?  
Like…

    $ [path/to/app] rails s   
    $ [path/to/app] script/apply_schema 

Is it possible to inject code from script into running rails app
===

Assume I have a running ruby on rails app.
I’m creating classes (db-models) defined by a description provided at runtime.

Right now, I’m using the rails app (via browser) to trigger the code generation — and therefore the app “knows” about its new classes. 

But, is it possible to inject code from scripts executed inside the rails app directory?  
Like…

    $ [path/to/app] rails s   
    $ [path/to/app] script/apply_schema 
