We're breaking apart a monolithic application into discrete business domains and are running into an issue configuring annotate_models to annotate specs under our new file structure. Fortunately we've been able to make this work for models by providing the following configuration:
We're breaking apart a monolithic application into discrete business domains and are running into an issue configuring annotate_models to annotate specs under our new file structure. Fortunately we've been able to make this work for models by providing the following configuration:
However, we'd also like to be able to do this with spec files:
This matches the files correctly, but incorrectly annotates them (note: the table name ≠ model name):
Commands
Versions
annotate (3.2.0)
rails (7.0.5)
ruby "2.7.6"