added dollar formatter as a class method in ActiveRecord::Base