I have two rails apps running off the same database, one which runs the client and one which provides an admin interface.
Both the apps have the exact same models defined save for small number of differences. Its tiresome for me to duplicate the vast majority of changes in the models on to both apps.
One way for two apps to use the same model info is to symlink the model folder from one app to the other, but I cant do that due to the few differences in code (e.g an extra validation on the client).
Is there a simple way I can move out the differences so I can keep the common code in one place?