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

Call ignore_model_if before RbsRails::ActiveRecord.generatable? #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 6, 2024

  1. Call ignore_model_if before RbsRails::ActiveRecord.generatable?

    RbsRails::ActiveRecord.generatable? may raise an exception.
    For example, this occurred when using ActiveType::Object. https://github.com/makandra/active_type
    
    If we call ignore_model_if before generatable?, we can handle such cases
    by adding models that cause errors to ignore_model_if.
    kyanagi committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    4a470e6 View commit details
    Browse the repository at this point in the history