How to use method arguments in `:before actions` in Rails
There are times when you need to pass arguments to a before_action in Rails.
For example, in the case of a controller with a before_action that is slightly different depending on the action, you might want to define two different methods like so:
cla...
tonystrawberry.hashnode.dev1 min read