I am thinking of outsourcing development of a Rails app to dispersed developers overseas. But I am concerned that I would be exposed to having the entire system stolen, with the stealee setting up a parallel SaaS service. Is it possible/practical to somehow split up the code or partition the app so no single developer gets access to all the code?
If so, how would this be done?