ඇޓͷҰ࣌త੍
ActiveSupport.on_load(:action_controller) do
module ActionController
module RequestForgeryProtectionExtension
def form_authenticity_token
session[:_csrf_token] ||= SecureRandom.base64(32)
end
end
Base.prepend RequestForgeryProtectionExtension
end
end
• Masked Authenticity TokenͷมߋΛ੍͢Δύον