I'm using Rails5.0.0.beta3 with multiple database connection, one to postgres and one to Oracle. When I execute rake db:migrate or rake db:schema:dump, an error is generated which appears that the OEA is asking the Postgres adaptor for a listing of it's materialized views. I'm not sure if this is a AR issue or an OEA issue or maybe both?
$ rake db:schema:dump rake aborted! NoMethodError: undefined method `materialized_views' for #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x007ff33b5a9110> Dev/projects/Storeburst/vendor/ruby/2.3.0/bundler/gems/oracle-enhanced-3f31fcc86f06/lib/active_record/connection_adapters/oracle_enhanced/schema_dumper.rb:30:in `tables' Dev/projects/Storeburst/vendor/ruby/2.3.0/gems/activerecord-5.0.0.beta3/lib/active_record/schema_dumper.rb:37:in `dump' Dev/projects/Storeburst/vendor/ruby/2.3.0/gems/activerecord-5.0.0.beta3/lib/active_record/schema_dumper.rb:21:in `dump' Dev/projects/Storeburst/vendor/ruby/2.3.0/gems/activerecord-5.0.0.beta3/lib/active_record/railties/databases.rake:253:in `block (4 levels) in <top (required)>' Dev/projects/Storeburst/vendor/ruby/2.3.0/gems/activerecord-5.0.0.beta3/lib/active_record/railties/databases.rake:252:in `open' Dev/projects/Storeburst/vendor/ruby/2.3.0/gems/activerecord-5.0.0.beta3/lib/active_record/railties/databases.rake:252:in `block (3 levels) in <top (required)>' .rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval' .rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>' Tasks: TOP => db:schema:dump If I comment out the OEA in the Gemfile, the db:migrate and db:schema:dump work as expected. jml -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/baa8a4da-fd78-49bc-9818-e8439d23b43a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

