annotaterb
annotaterb copied to clipboard
A Ruby Gem that adds annotations to your Rails models and route files.
Thank you always for your maintenance. Unify array and single value handling in is_column_primary_key? using Array() wrapper. Reduces nested conditionals from 15 to 3 lines while maintaining identical behavior. Pure...
Migrating from [`annotate_models`](https://github.com/ctran/annotate_models/), I've noticed that routes are no longer annotated after running migration tasks. `annotate_models` [had this functionality](https://github.com/ctran/annotate_models/blob/develop/lib/tasks/annotate_models_migrate.rake), while it seems this gem [no longer does](https://github.com/drwl/annotaterb/blob/main/lib/annotate_rb/tasks/annotate_models_migrate.rake#L32). Could we get...
The naming may be a little misleading here, as the following issue occurs when trying to annotate _tenanted_ models, even though the error comes from the `UntenantedConnectionPool` class: ``` Annotating...
I had a PR open to the old gem which supported reading comments from indexes and presenting them in the annotation. I still want to have that functionality. Old PR...
Currently an issue I'm running into is compatibility with the Rubocops cop for Layout/LineLength. When the schema output exceeds that setting, it would be nice if AnnotateRB could be configured...
Adds a new option that enables filtering model files by regexp. Our use-case for this is filtering out spec files that live along side our models, for example we might...
This isn't a big deal, but after earlier today migrating from Rails 7 with `annotate` to Rails 8 with `annotaterb` with the following versions: Rails: 8.0.2 Postgres: 16.2 annotaterb: 4.17.0...
First off, thanks so much for the work on this gem; it's really a lifesaver. (And thanks to the people who worked on Annotate originally!) I just started using the...