Rails Quick Tip - 05 - The Annotate Gem
Web-Crunch
The annotate Ruby gem is a big boost in developer quality of life and one I use in every new Rails project. The idea of the gem is to document a specific database table schema inside your model files using ruby comments. This then updates dynamically with each change to the database.
Annotate benefits you because you no longer need to find and hunt down how you've already architected the database in your db folder in a Ruby on Rails project. Instead, you can refer to your models, make better decisions around what you see, and verify your models are in good shape.
Read more about usage here: https://web-crunch.com/posts/annotate-gem
Hi, I am Andy Leverenz, and I am a product designer and developer. For fun, I design, code, and write. Check out my blog, Web-Crunch https://web-crunch.com, where I publish design and development tutorials with the occasional vlog.
๐ Rails UI - Check out my latest project https://railsui.com
โฅ๏ธ Sponsor me on GitHub https://github.com/sponsors/justalever
โ๏ธ Keep me awake. Buy me a coffee https://www.buymeacoffee.com/webcrunch
๐ฐ One-Click Subscribe: https://www.youtube.com/user/webcrunchblog?sub_confirmation=1
๐ป Previously published at: https://web-crunch.com/posts/how-to-use-details-and-summary-tags
๐Ruby on Rails Course: HELLO RAILS https://hellorails.io
๐ป Check out the blog: https://web-crunch.com
๐ฆ Check out my personal site: https://justalever.com
๐ Links: Weekly Newsletter: https://digest.web-crunch.com/ Twitter: https://twitter.com/webcrunchblog Github: https://github.com/justalever
๐Check out my book on UX Design: "LUXD: Learn User Experience Design" https://web-crunch.com/products/luxd
๐ Check out my FREE book on Tumblr Theming: "Pro Tumblr Theming" https://web-crunch.com/products/ptt ... https://www.youtube.com/watch?v=L3lHec3oIiA
27308010 Bytes