Annotating Rails models using the Annotate Gem
You can use the annotate gem to get a summary of the Active Record schema at the top of relevant files (models, controllers, fixtures). https://cionescu.github.io/2020/10/24/using-annotate-in-rails/
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
You can use the annotate gem to get a summary of the Active Record schema at the top of relevant files (models, controllers, fixtures). https://cionescu.github.io/2020/10/24/using-annotate-in-rails/
Post a comment