iron-io/iron_worker_examples — pull request #19 by vickash (2012-03-07 15:05:07+00:00)
Title: Updated Mongoid Example

Changed the Mongoid example to use a YAML configuration file and the Mongoid.load! method, as it would be in an actual app.

Rather than passing in the settings, or storing them inside the worker, the same mongoid.yml file used to configure the app itself should be merged into the worker, reducing duplication.

Also changed the name from 'mongo_tester' to 'mongoid'.