This is the fourth part of the series where we create a service to interact with MySQL server in rails using mysql2 gem.
In the previous three articles, we created a service, added methods to help us perform select, insert and update operations, and also added methods to help us in performing prepared statements. Today we will be looking at performing transactions in MySQL server using mysql2 gem.
We will be learning the following in this blog:
#mysql #rails #ruby