ctran/annotate_models

Rails 7.0.0

Closed this issue ยท 8 comments

To be able to use annoate with rails 7, the dependency needs to be loosened up. It currently works with rails 7.0.0.rc1.

I have been using annotate with rails 7 alpha and now rc but I suspect that will break as rails 7 goes live because of < 7.0 in gemspec on active record.

Version

  • annotate 3.1.1
  • rails 7.0.0
  • ruby 3.0.3

Yep, same :D. Annotate was working fine with the Rails 7 release candidates.

ryanb commented

You may want to use dabit's fork from PR #912 until this is resolved.

git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# ...
gem 'annotate', github: 'dabit/annotate_models', branch: 'rails-7'

Can we please get a new release with the Active Record (Rails) version relaxed? It seems like its working fine with Rails 7.

kapso commented

Any chance of a new release? Thanks.

@ctran Thank you for responding to my call for help on linkedin! You rock!

ctran commented

This is merged in #912

kapso commented

@ctran any plans of releasing this?

ctran commented