Thanks!
Depends on what you have on $LOAD_PATH which in rails can be set up via something like
$LOAD_PATH
config.autoload_paths += %W(#{config.root}/app/services)
on config/application.rb. That being said, ::UserAuthenticate is less ambiguous and faster to load, so good point.
config/application.rb
::UserAuthenticate
If you and/or any reader are into the details, I can't recommend enough Xavier's talks or his post on his new loader Zeitwerk.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks!
Depends on what you have on
$LOAD_PATHwhich in rails can be set up via something likeon
config/application.rb. That being said,::UserAuthenticateis less ambiguous and faster to load, so good point.If you and/or any reader are into the details, I can't recommend enough Xavier's talks or his post on his new loader Zeitwerk.