share AR connection config and Models

Hi, how do i share my AR connection configuration and Models from one app with an Ruby application?