Hello again,
I'm using "auth_class_eval" to define a few validation methods. I want to keep using Rodauth's convention of getting the error string from a "translatable_method". But I tried a few different ways and can't get access to "translatable_method" to use in my own code (inside "auth_class_eval"'s block). Is there a good way to do that?
I'm also wondering if I'm stuffing too much code into the configuration block and if it would be better do define a new feature to keep things cleaner. (I know it would be easy to use "translatable_method" then, for instance.) Any guidance on that?
And, related to the creation of a new feature, (final question, I swear!), the docs say:
> You need to place the external feature file where it can be required via rodauth/features/feature_name
Does that mean I have to create a new file inside Rodauth's gem directory? Is there a way to keep "my" code in my app's directory and still have Rodauth find it?
Thanks again!
Regards,
--
Cassio