active_record-annotate
active_record-annotate copied to clipboard
Select from all possible load paths
Addresses #20
Background: I'm extending Rails load paths to load models from directories other than app. It wasn't possible to annotate models outside the default app/models directory, so I've implemented it
Unfortunately, I have absolutely no idea how to test it without a running Rails application, so I just manually tested it with my application and let it be
If you have any tips on how to test those things, it would be great
Found another issue there. ApplicationRecord models do get annotated despite everything.
Also, found a bug:
If you have a model inside a module, the plugin will ignore the module name. Gonna fix it soon
Woops, sorry. That was just a misconfiguration on my side. However, the new patch would still be helpful, I believe