This seems a little more natural because you're creating a "spawn" (noun) instead of "spawning" something that runs. Also, this refactor eliminates the need for a seperate Id class. Instead just return the Spawn object which is used to monitor status of the spawned process.
* removed rails includes since it should work everywhere * updated README * renamed SpawnId to Spawn::Id
…3 - changed to check for this method and call Rails.application.config.allow_concurrency if it isn't present
If autoload? returns nil then the constant has really and truly been loaded already. Also add a self.included to set up the logger and require the patches
This will be undefined (at least in ActiveSupport 3) if the memcache gem (which spawn does not depend on) is not loaded