well I figured something out, I made the class a model.
On Feb 1, 1:00 pm, "Amiel"
<amiel.mar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---