[Rails] Re: slow tests on large rails app

2009-06-13 Thread Myron Marston
> Factory's are nice but they make your tests very slow. This has been my experience, too. I attempted to solve it (with some measure of success) with my factory_data_preloader gem: http://github.com/myronmarston/factory_data_preloader/tree/master You can also benchmark your tests to see where

[Rails] How to use Rails' exception handling mechanism in a background thread?

2008-10-08 Thread Myron Marston
I have some simple asynchronous processing that my app needs to do, and I wanted something a bit lighter weight than any of the gems or plugins I've run across that handle background processing. I decided to roll my own, with the added benefit that I get to use native threads rather than green th