Tag: domain

  • Full URL in Rails’ logs

    I find myself needing to have the full URLs in Rails’ logs. Normally you get something like: but I needed because the app does different things depending on the domain and when it fails, I have to know which URL was hit. The solution I ended up with was adding this in an initializer: That’s…