I need to implement a custom Responder under "Module Responders", however, I am not sure where 开发者_JS百科such code should live?
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
.
I usually drop them in app/responders
精彩评论