Shouldn't we share same models across apps?


#1

If I have multiple separate applications each with their own directory
structures, but many need to access the same tables (i.e. a master
product code file, customers table, etc.). Should those models be
symbolic linked in to ech app’s app/models directory or some editing in
environment.rb or is there a best practices way to do this?

Thanks!
-r

This electronic message transmission contains information from Lewan &
Associates, which may be confidential or privileged. This information is
intended for the use of the individual or entity named above. If you are
not the intended recipient, be aware that any disclosure, copying,
distribution, or use of the contents of this information is prohibited.
If you have received this electronic transmission in error, please
notify us immediately by telephone at 303-759-5440 or by electronic mail
at removed_email_address@domain.invalid.


#2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Nov 14, 2005, at 6:40 PM, Rodney Clang wrote:

If I have multiple separate applications each with their own
directory structures, but many need to access the same tables (i.e.
a master product code file, customers table, etc.). Should those
models be symbolic linked in to ech app’s app/models directory or
some editing in environment.rb or is there a best practices way to
do this?

Sure, symlinks work. I’m using svn:externals to do something similar.

jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)

iD8DBQFDeVIdAQHALep9HFYRAlsCAKCGKzh4yO+CW00wzM7sIx47JoQ1bQCg21Ek
BL970QgNWw3JSuNAthe2T34=
=kQP1
-----END PGP SIGNATURE-----