S
shawn bright
[Note: parts of this message were removed to make it a legal post.]
Hey there all,
I have several Ruby classes that I need to share between several
applications.
Our company collects information from industrial machines, processes it, and
alerts our customers of system changes. This is either by text message,
website, etc..
So i have a ruby on rails website built that allows them to see whats up.
Then, we have other companies we build info sites on, kinda based on the
same code, but private labled, and modified in other ways too.
Here is what I would like, we have several websites that all have a
EquipmentSensor model, a ruby class of type ActiveRecord::Base, we also have
a folder of models that we 'require' to use in our data processing software,
and in our cron jobs, etc...
Is there a way i can share this class ( model ) with several different
websites running rails and also use it in my cron jobs, etc..
thanks for any tips.
sk
Hey there all,
I have several Ruby classes that I need to share between several
applications.
Our company collects information from industrial machines, processes it, and
alerts our customers of system changes. This is either by text message,
website, etc..
So i have a ruby on rails website built that allows them to see whats up.
Then, we have other companies we build info sites on, kinda based on the
same code, but private labled, and modified in other ways too.
Here is what I would like, we have several websites that all have a
EquipmentSensor model, a ruby class of type ActiveRecord::Base, we also have
a folder of models that we 'require' to use in our data processing software,
and in our cron jobs, etc...
Is there a way i can share this class ( model ) with several different
websites running rails and also use it in my cron jobs, etc..
thanks for any tips.
sk