Some base models for interacting with a Magento database. Not complete in any shape or form.
Add this line to your application's Gemfile:
gem 'magento_models'Create a new initializer in your rails app config/magento_models.rb and establish your connection there:
MagentoModels::Base.establish_connection(
adapter: "mysql2",
host: "localhost",
username: "root",
database: "your_database"
)