User defined class in helper

Hi, I defined my own class in a helper, but the class does not seem
to be available in my view.
I am assuming that only the helpers methods are available in my
view.
really what I should do is make the class available to the controller,
and initialize my class from there,
but I would still like access to the class for its class methods
So my question is: where should I put the class?

well I figured something out, I made the class a model.

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