Skip to content
  • Nikita Vasilevsky's avatar
    9cadf618
    Warn about changing `query_constraints:` behavior · 9cadf618
    Nikita Vasilevsky authored
    This commit adds a deprecation warning for the `query_constraints:`
    association option. This option will change behavior in the future versions
    of Rails and applications are encouraged to switch to `foreign_key:` to preserve the
    current behavior.
    9cadf618
    Warn about changing `query_constraints:` behavior
    Nikita Vasilevsky authored
    This commit adds a deprecation warning for the `query_constraints:`
    association option. This option will change behavior in the future versions
    of Rails and applications are encouraged to switch to `foreign_key:` to preserve the
    current behavior.
Loading