title: Is it possible to use "number_to_currency" inside a controller?
body: <p>I a, building a dropdown menu in a form that displays a list of available options and their prices in this form: "service - price". My problem, however, is that it doesn't look like I can use number_to_currency inside my controller. Is there another way to achieve the same effect, or to access number_to_currency from my controller? Here is my initial effort:</p>
  
  <pre><code>@levels = []
  DistributorLevel.all.each do |d|
    price = (d.price &gt; 0) ? number_to_currency(d.price) : "Free"
    @levels &lt;&lt; ["#{d.name} - #{price}", d.id]
  end
  </code></pre>