dynamic loading of ruby files


In my project I am using Ruby on Rails in server side and AJAX
enabled web client.Whenever I make a change in my ruby file, I need to
restart the application in order that my latest chages to take
effect.Ruby on Rails is running in mongrel server.Is there any
possibility to dynamically load my recently modified file i.e without
restarting my application servers.please help me to resolve this

You need to run in develpment mode, check the mongrel doc for that.

In production mode, you need to restar, but in development mode don’t.