8000 bundle exec rake errors: NoMethodError: undefined method `migrations_paths' for an instance of ActiveRecord::ConnectionAdapters::PostgreSQLAdapter · Issue #146 · jesjos/active_record_upsert · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
bundle exec rake errors: NoMethodError: undefined method `migrations_paths' for an instance of ActiveRecord::ConnectionAdapters::PostgreSQLAdapter #146
Open
@olleolleolle

Description

@olleolleolle
% bundle exec rake
<:setup_and_run_spec> Ensuring database is prepared...
DEPRECATION WARNING: `to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <top (required)> at /Users/olle.jonsson/opensource/active_record_upsert/spec/dummy/config/environment.rb:5)
rake aborted!
NoMethodError: undefined method `migrations_paths' for an instance of ActiveRecord::ConnectionAdapters::PostgreSQLAdapter (NoMethodError)

    ActiveRecord::Base.connection.migrations_paths << 'spec/dummy/db/migrate'
                                 ^^^^^^^^^^^^^^^^^
/Users/olle.jonsson/opensource/active_record_upsert/Rakefile:17:in `block in <top (required)>'
/Users/olle.jonsson/.rbenv/versions/3.3.4/bin/bundle:25:in `load'
/Users/olle.jonsson/.rbenv/versions/3.3.4/bin/bundle:25:in `<main>'
Tasks: TOP => default => setup_and_run_spec
(See full trace by running task with --trace)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0