Random tips and tricks for Controllers
# Rails 3 def index @currency = view_context.number_to_currency(500) end # Rails 2 def index @currency = @template.number_to_currency(500) end