Here to put custom code in the files system

Hi,

I need to write a few custom functions that will be called when a show
method is called.

Where is the best place to put this in the rails file system tree?

Thanks
Scott