Ruby

Ruby

Made by DeepSource

Inconsistent usage of request attribute detected RB-RL1047

Style
Major
Autofix

The referer from the request object should be accessed in a consistent way throughout the codebase. By default, this issue is raised when referrer is used. However, it can be configured to raise this issue on usage of referer in .rubocop.yml.

Bad practice

request.referrer

Recommended

request.referer