Features such as forums that are common to web applications can be created using engines , which can be easily connected to rails applications.
If you want to share data between two rails applications, you must have a separate parameter in database.yml and use the establish_connection method inside the forum model in both rails applications.
Click here to understand how to set up multiple databases in the rails application.
Arun Kumar Arjunan
source share