Skip to content

Update gem for rails 8 support#1

Merged
thatsanicehat merged 29 commits into
mainfrom
develop
Jun 12, 2026
Merged

Update gem for rails 8 support#1
thatsanicehat merged 29 commits into
mainfrom
develop

Conversation

@thatsanicehat

Copy link
Copy Markdown

These changes were originally pulled from ctran#1047, who already did all the work. The original gem seems to be long-dead now, this is only a temporary fix.

ctran and others added 29 commits June 12, 2026 11:19
* Update to rubocop 1.12.x for newer ruby support
* fix: remove deprecated warnings from Bundler
* fix: ruby warnings about MAGIC_COMMENTS already defined
* fix: Gemfile.lock for integration tests

Co-authored-by: Andy Allan <git@gravitystorm.co.uk>
Co-authored-by: Cuong Tran <ctran@users.noreply.github.com>
Signed-off-by: Lovro Bikic <lovro.bikic@infinum.hr>
This adds annotation of check constraints with an option to disable/enable annotation. Most of the work done in this PR is based off of existing implementation for annotating indexes and foreign keys.

Signed-off-by: Lovro Bikic <lovro.bikic@infinum.hr>
…does not exist. (ctran#849)

Some tables may have a table_name_prefix but no indexes. Previous versions of
the code would strip the prefix and look for indexes on the resulting table 
which likely would not exist. This causes DB errors, at least in MySQL. So now
check if the new table exists first before trying to show its indexes.
The `--frozen` option previously deal only model annotations.  This change will support route annotations as well.

---------

Signed-off-by: kg8m <takumi.kagiyama@gmail.com>
Co-authored-by: Cuong Tran <ctran@users.noreply.github.com>
@thatsanicehat thatsanicehat merged commit c7c39d1 into main Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants