Hi everyone 👋
I noticed this gem hasn't been updated since 2022 and doesn't work with Rails 8 and Ruby 3.4+ due to several compatibility issues:
ruby_dep gem incompatible with Ruby 3.x
json_pure causing JSON::Fragment errors
File.exists? removed in Ruby 3.2+
- Outdated RuboCop dependencies
mutex_m removed from Ruby 3.4 stdlib
Since there hasn't been any response to issues or PRs for a while, I've created a fork with all these fixes:
🚀 db-annotate
GitHub: https://github.com/eddyjaga/annotate_models-rails8
RubyGems: https://rubygems.org/gems/db-annotate
Installation
Gemfile
group :development do
gem 'db-annotate'
end