Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError when using Ruby 3.2 #60

Merged
merged 1 commit into from
Jan 10, 2023
Merged

Commits on Jan 10, 2023

  1. Fixes ruby 3.2 deprecation errors

    Ruby 3.1 had warned of this problem, 3.2 totally deprecated it.
    
    The issue was passing an integer cooresponding to the column type into
    ActiveRecord, which tried to use a regular expression on it, causing the
    error. I converted the value into a string to avoid the problem.
    
    This is still a hack (as is the whole library) into the internals of
    ActiveRecord, so other dragons could be there too.
    afair committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    127a456 View commit details
    Browse the repository at this point in the history