How to disable rails from serving images in rails 3.1

Hello!!

How can i disable the rails 3.1 in development mode from serving images?
I have some pages with tons of images and sometimes the page takes more
than 10 seconds to load...

Thanks!

Nvm, the problem was with mongoid!

MODEL PRELOADING

In order to properly set up single collection inheritance, Mongoid needs
to preload all models before every request in development mode. This can
get slow, so if you are not using any inheritance it is recommended you
turn this feature off.
config.mongoid.preload_models = false