What’s the proper syntax for including a module in a controller?
does it go before or after the class definition ?
The controller is the class. So any included module goes within the
class definition.
and do I need some quotes around it ?
You include a name, e.g. Foo. Foo would be a legal name, visible in
your scope. So no, you don’t quote that, you are in fact passing Foo by
reference (the name contains a reference).
There are some special cases - e.g. ActionController.helper - where you
would perform a sort of inclusion in which the module name would be
quoted. But you asked about the basic Class.include form, so no.