Fred:
Thanks for your reply, i call it from my controller, like this:
class Visitor::UserAgentStatsController < ApplicationController
def index
VisitorUserAgentStats.find(:all)
number_with_delimiter(record.user_agent)
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @graph}
end
end
I wonder how can i make number_with_delimtier availabe to my code?
while i am using ApplicationController without any require or inlucde
directive...
On Sep 9, 3:36 pm, Frederick Cheung <
frederick.che...@gmail.com>
wrote: