About sharing models between Rails applications
April 22nd, 2007
Daniel Berlinger asks a good question about my Sharing models between two Rails applications using Piston asking:
Without having a moment to think about it… there must be other ways to accomplish this (in Rails) without Piston, and other Subversion trickery. No?
I know of only one way to do it: create a plugin to hold the models, and load this plugin into all of the applications that need the shared models.
October 12th, 2007 at 10:25 PM
I’ve used plugins + svn:externals with much success… you could do the same through a lib or other such, but plugins are nice cause you get to abuse the plugin-related rake tasks etc.