How can I access the MongoDB using Mongoid outside of controllers? I have a ruby script that gets started at rails init time and I want it to have access to the database. The script is spawned from the config/initializers directory.
Thanks, Alex -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

