I think this config should not be inside the module but inside the class that include it. It will make possible to define a behavior different depending if you are in Active Record or in a PORO for example