Search code examples
ruby-on-railsrubymoduleresponders

Where should custom Responders go in a Rails project?


I need to implement a custom Responder under "Module Responders", however, I am not sure where such code should live?


Solution

  • This is typically what the lib directory is for.

    Just be sure to update your config/application.rb file to include lib in autoload_paths.