You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundle exec rake errors: NoMethodError: undefined method `migrations_paths' for an instance of ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
#146
Open
olleolleolle opened this issue
Dec 10, 2024
· 0 comments
% 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)
The text was updated successfully, but these errors were encountered:
olleolleolle
changed the title
bundle exec rake errors
bundle exec rake errors: NoMethodError: undefined method `migrations_paths' for an instance of ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
Dec 10, 2024
The text was updated successfully, but these errors were encountered: