You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If my reading is correct then I think we should add a note to the README explaining this and perhaps encouraging using that instead. If I'm wrong then a note explaining the difference would be equally useful.
The text was updated successfully, but these errors were encountered:
E.g. I use RequestStore to make sure a <script> tag only gets inserted once even if a partial which includes it is rendered several times. It very much doesn't fall under
The attributes stuck in Current should be used by more or less all actions on all requests. If you start sticking controller-specific attributes in there, you're going to create a mess.
It seems like Rails' built-in (since 5.2) ActiveSupport::CurrentAttributes has the same functionality as this gem.
If my reading is correct then I think we should add a note to the README explaining this and perhaps encouraging using that instead. If I'm wrong then a note explaining the difference would be equally useful.
The text was updated successfully, but these errors were encountered: