Calling ActionView from uninheriting class

Hi Gurus, I have a class, specified in models cart.rb, which doesn't inherit from anything--it's just a container

class Cart ...

I just discovered I can't call number_to_currency in that class. Any idea how to "include" it in my code? I tried ActionView.number_to_currency without luck. I could kill a few lines of non-DRY regexp code in cart.rb if I could just use number_to_currency.

Many TIA, Craig

Hi --

The easy way to resolve this type of problem is through: http// api.rubyonrails.org The Methods panel has, for your example, number_to_currency (ActionView::Helpers::NumberHelper)