annotaterb
annotaterb copied to clipboard
A Ruby Gem that adds annotations to your Rails models and route files.
First, thanks for this up to date version of Annotaterb I am using the [AssociatedObject gem](https://github.com/kaspth/active_record-associated_object) in several project. ## Commands when I run `annotaterb` I get this warning for...
## Summary Currently, `annotaterb` places annotations at the top of the file or above the module definition. However, there is no option to place annotations directly above nested class or...
given rails has [more support for postgres enums](https://blog.saeloun.com/2022/01/12/rails-7-adds-custom-enum-support-in-postgresql/) it would be nice if annotate included more info for a given enum, e.g. given i have a migration like this ```rb...
https://github.com/drwl/annotaterb/blob/7746f54b31674603b671db2433cd3d2e3da78fb7/spec/lib/annotate_rb/model_annotator/column_annotation/annotation_builder_spec.rb#L454 we were testing out using this with yardoc and this was breaking when we had database comments, I'm not 100% sure, but my understanding of yardoc is that the...
Describe your problem here. ## Commands See my Quepid routes here: https://github.com/o19s/quepid/blob/main/config/routes.rb#L7 I have to explicitly mount ActionCable (for some reason): `mount ActionCable.server => '/cable'` and maybe that is part...
It would be great if this gem included [a ruby-lsp addon](https://shopify.github.io/ruby-lsp/add-ons.html). Ideally, clicking on ActiveRecord column definition would take to the column annotation in the model and clicking on route...
Hello, thanks for taking on the abandoned annotate gem and carrying it forward. In my project I have a model test file which (scandalously) contains only one empty line. When...
Hi, the option `skip_on_db_migrate` does not seem to be honored when set to true in the yaml options file. My config: ```ruby # .annotaterb.yml ... :skip_on_db_migrate: true ... ``` ####...
Skip annotating on migration task when `skip_on_db_migrate` is set to `true` Fixes https://github.com/drwl/annotaterb/issues/273