require Rails.root.join('lib/overrides/devise/failure_app')
require Rails.root.join('lib/overrides/hoptoad_notifier/hoptoad_notifier')

require Rails.root.join('lib/overrides/devise/failure_app')
require Rails.root.join('lib/overrides/hoptoad_notifier/hoptoad_notifier')

class BSON::ObjectId
  def as_json(*args)
    to_s
  end
end

Work around Bson object_id json
Work around Bson object_id json
