Skip to content

Conversation

@Morozzzko
Copy link
Contributor

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

@Morozzzko
Copy link
Contributor Author

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

@Morozzzko
Copy link
Contributor Author

Woops, sorry. That was just a misconfiguration on my side. However, the new patch would still be helpful, I believe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant