Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Here, we are creating a service with private method connect_to_db that connects to our external mysql database. We are using following from application.yml:
We will be using mysql2 gem for our purpose. Let's first create a service to connect with external mysql server.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.