RailsCasts Pro episodes are now free!

Learn more or hide this

Leszek Zalewski's Profile

GitHub User: driv3r

Site: zalesz.com

Comments by Leszek Zalewski

Avatar

+1

btw. could someone tell how would look like updating same records by different threads? Checking updated_at or some locks?

Avatar

I don't think that it will help you, because of preload_frameworks. Normally classes are lazy loaded - so you have only classes that you need in memory. With this option everything will be loaded at start. If you want to remove Rack::Lock I would rather check if there's an separate option for it.

Avatar

A note to myself, also maybe someone else will find it helpful.

If you wondered how to render resque-web inside your own layout, then use an iFrame with src to resque_server_url. Works like a harm. :)