Skip to content

Rails Edge: check compatibility with .with #204

@tagliala

Description

@tagliala

Rails 7.1 will introduce .with to make CTE queries easily

There are no specs in Chronomodel that ensures that this works, we should add one

Database structure is here: https://github.com/ifad/chronomodel/blob/master/spec/support/time_machine/structure.rb

Ref: https://edgeapi.rubyonrails.org/classes/ActiveRecord/QueryMethods.html#method-i-with

/cc @dimvic

BUNDLE_GEMFILE=gemfiles/rails_edge.gemfile bundle update

BUNDLE_GEMFILE=gemfiles/rails_edge.gemfile bundle exec rspec spec/chrono_model/
Testing against Active Record 7.1.0.alpha with Arel 10.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions