5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:01:42 +00:00

ahora tenemos referrer policy en access_log

This commit is contained in:
f 2020-08-15 21:35:17 -03:00
parent 3a7ab15d2b
commit e21ccfd29e

View file

@ -0,0 +1,11 @@
# frozen_string_literal: true
# Con access_log v0.3 podemos decidir la política de retención de
# referencias.
class AddHttpRefererToAccessLogs < ActiveRecord::Migration[6.0]
def change
return unless Rails.env.production?
add_column :access_logs, :http_referer, :string, index: true
end
end