All threads / Pass SQL database data to NoSQl through Mongify

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Pass SQL database data to NoSQl through Mongify

Arman asked in Gems / Libraries

I am trying to pass the data from an SQL database to a non-SQl database with mongo DB and for this I use mongify 1.3.2, Ruby 2.7.6.2, Rails 5.2.3 and within gemfile I have

source "http://rubygems.org"

Specify your gem's dependencies in template_del.gemspec

gemspec

gem "activerecord-mysql-adapter", "~> 4.2.11.1" and I get the following error when inside cmd and in the application folder where I have database.config

Specified 'mysql' for database adapter, but the gem is not loaded. Add gem 'mysql' to your gemfile (and ensure its version is at the minium required by ActiveRecord ).(Gem::LoadError)

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,344+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.