I'm trying to use couchrest_model in a sinatra app and the autoload couchdb.yml functionality is crashing the application because YAML is not loaded.
Simply adding a require yaml should fix this issue in the following file:
|
YAML::load(ERB.new(IO.read(file)).result).symbolize_keys |
I'm trying to use couchrest_model in a sinatra app and the autoload couchdb.yml functionality is crashing the application because YAML is not loaded.
Simply adding a
require yamlshould fix this issue in the following file:couchrest_model/lib/couchrest/model/connection_config.rb
Line 23 in d30a61f