Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5831

Failures against Rails master due to API change

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 9.1.0, 9.0.4, 8.1.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • Ruby Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Example: https://evergreen.mongodb.com/task_log_raw/__9.0_stable_rails_master__mongodb_version~7.0_topology~standalone_ruby~ruby_3.2_os~ubuntu_22.04_driver~current_rails~master_fle~helper_test_patch_058e59eb62da7828a14c41883dae1339229e32c9_673dfe3aa998a40007fc24e8_24_11_20_15_20_26/0?type=T

       

      This rails PR (https://github.com/rails/rails/pull/53640) breaks our internal use of ClassAttribute.redefine by adding a new parameter. I've added a comment to that PR asking if it could be made backward compatible (since the redefine method is not strictly an internal API). In the worst case, we'll need to figure out a way to work around it before the next Rails patch release.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            jamis.buck@mongodb.com Jamis Buck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: