Where should custom Responders go in a Rails project?

594 views Asked by At

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

2

There are 2 answers

0
Tess Rosania On BEST ANSWER

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.

0
Dr.Strangelove On

I usually drop them in app/responders