Global function

Hi,

I’ve got a simple function which I need to have available from all
controllers, views, models and mailers.

Wich is the best/correct place to put it?

Thanks a lot.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs