user427165
user427165

Reputation:

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?

Upvotes: 2

Views: 594

Answers (2)

Dr.Strangelove
Dr.Strangelove

Reputation: 1495

I usually drop them in app/responders

Upvotes: 1

Tess Rosania
Tess Rosania

Reputation: 10103

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.

Upvotes: 3

Related Questions