Is it good ruby to do the following
if current_user
do something
end
I’ve typically have done:
if current_user
do something
else
end
The other option is:
do something if current_user
However with a very long “do something” that gets uncluttered in a hurry.
What’s the best practice, assuming “do something” is multiline?