I'm currently building two API's using Ruby on Rails. One if for reading (finding objects, querying) and the other one is for actually writing to it, involving a kind of complicated process with queues and another API. Both applications require the exact same models and logic inside them.
My question is, what's the most common best practice or approach to share models specifications (relationships, scopes, methods) between two rails applications?
You could take a look at: