I’m still learning and can’t figure out how to get a phone number out of
my database and into a pdf document with some standard rails formatting.
Specifically, in my controller my “define pdf” method includes:
clientphone = “1234567890”
which generates an error reading
undefined method `number_to_phone’
I also tried
which generates the same error.
I’m not trying to use a template handler or anything tricky. I create a
separate rails application to just output that one string formated as a
phone number and it has the same error.
Any help appreciated.