Saturday, November 23, 2013

TypeError (db_name must be a string or symbol): in mongodb

Add the following to the top of your config/environment.rb:

require 'yaml'
YAML::ENGINE.yamler = 'syck'

0 comments:

Post a Comment