Where does class file go

This is probably a simple question, but I have this class that I wrote
that will be used in the controller that will encrypt some information.
I’m just unsure of where to put this class code for the encryption -
should it go in one of my models, or should it be in a file all by
itself. I just not sure where to put it because it doesn’t seem like it
belongs in the controller or models folder. Thanks,

-S

On Nov 29, 2007 12:12 PM, Shandy N.
[email protected] wrote:

This is probably a simple question, but I have this class that I wrote
that will be used in the controller that will encrypt some information.
I’m just unsure of where to put this class code for the encryption -
should it go in one of my models, or should it be in a file all by
itself. I just not sure where to put it because it doesn’t seem like it
belongs in the controller or models folder. Thanks,

You can put it in the lib/ directory. This is added to $LOAD_PATH for
you.

you could place them under tools helper folder.

On Nov 29, 2007 12:12 PM, Shandy N.
[email protected]