[英]Is there any way to tell which gems and plugins are loaded at runtime for a Rails process?
[英]Rails: is there a way to tell the source of the request?
谷歌分析告訴我我的流量來源是什么(搜索引擎,Facebook等)。 有沒有辦法從request
對象或其他方式獲取每個請求的此信息? 我很感激任何幫助。
request.referrer
將為您提供HTTP referrer值。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.