# set to true for geocoding (and add the geocoder gem to your Gemfile) # we recommend configuring local geocoding as well # see https://github.com/ankane/authtrail#geocoding AuthTrail.geocode = false # add or modify data # AuthTrail.transform_method = lambda do |data, request| # data[:request_id] = request.request_id # end # exclude certain attempts from tracking # AuthTrail.exclude_method = lambda do |data| # data[:identity] == "capybara@example.org" # end