Start using ActiveSupport::CurrentAttributes in your Rails applications today!
ActiveSupport::CurrentAttributes provides a system-wide per-request attributes for Rails applications, but it lands on v5.2. We have extracted that into a gem you can use today (compatible with Rails >= 4.2):
https://github.com/coup-mobility/activesupport-current_attributes
Post a comment