Skip to content

NoMethodError: undefined method `with_connection' for an instance of ActiveRecord::ConnectionAdapters::PostgreSQ... #71

@sentry-io

Description

@sentry-io

Sentry Issue: TAKEYUWEBINC-Y

NoMethodError: undefined method `with_connection' for an instance of ActiveRecord::ConnectionAdapters::PostgreSQLAdapter (NoMethodError)

        pool.with_connection do |connection|
            ^^^^^^^^^^^^^^^^
Did you mean?  raw_connection
  activerecord (7.2.1) lib/active_record/associations/alias_tracker.rb:10:in `create'
  ransack (4.1.1) lib/ransack/adapters/active_record/context.rb:281:in `build_joins'
  ransack (4.1.1) lib/ransack/adapters/active_record/context.rb:249:in `join_dependency'
  ransack (4.1.1) lib/ransack/context.rb:40:in `initialize'
  ransack (4.1.1) lib/ransack/context.rb:13:in `new'
...
(99 additional frame(s) were not displayed)

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