Removed mongoid rescue, changed to ActiveRecord version