I’ve got three files that (a.rb, b.rb, c.rb) that currently live in
I’d like these models to shared by multiple rails apps. These models are
associated with a separate database.
My rails projects are contained in a directory that looks like this:
proj1/ proj2/ proj3/ common/
a.rb b.rb c.rb
My idea is to do this:
In proj1/lib/, symlink to …/…/common/
common/ (which is a symlink)
My question is:
How do I tell rails to load the files pointed to by the symlink named
‘common’ in the lib directory?
Thanks for your input.