raise_not_found_error not being set

43 views
Skip to first unread message

Nicholas Faiz

unread,
Apr 2, 2012, 2:33:52 AM4/2/12
to mon...@googlegroups.com
Hi,

I'm trying to configure raise_not_found_error to false.

Setting this up in mongoid.yml, it looks like:

development:
  host: localhost
  database: passports_development
  raise_not_found_error: false


This doesn't work however. I've also tried setting the property in application.rb, and even at the top level of the yaml document in mongoid.yml.

I'm using the latest mongoid from git, 3.0.0 .

Any ideas? Input would be appreciated. For now I'll code around it, but I really want to ensure typical behaviour from finder methods that I'm used to in other ActiveModel implementations.

Thanks,
Nicholas
Reply all
Reply to author
Forward
0 new messages