undefined method `phone_format'

I have a live rails application running on a public website and I am
trying to get this up and running on a development/test system to make
some minor changes offline. I've managed to set this up on
instantrails version 1.4, since this gives me the closest match to my
current live system, but I seem to be missing some libraries or
something. I tried this on the latest version of instantrail too and I
get the same message. I searched all the discussions and google and
cannot find the solution.

Can someone point me in the right direction. What is missing and how
can I find that?

Showing app/views/holidays/camptype.rhtml where line #71 raised:

undefined method `phone_format' for #<#<Class:0x3274cd4>:0x3274748>

Extracted source (around line #71):

68: <td class="CampsTableData"> <%= mail_to
camp.leader.contact.email, camp.leader.contact.name, :encode => "hex"
69: <%=
camp.leader.contact.text_address.split("\n").join(', ') %><br> <br>
71: P <%=
phone_format(camp.leader.contact.primary_phone) %></td>
72: <td class="CampsTableData"> <div align="center"><%
unless camp.full? %>YES<% else %>NO<% end %></div></td>
73: </tr>
74: <% toggle = toggle ? false : true %>

I'd first look for this method in app/helpers/holidays_helper.rb given how it is used.


Rob Biedenharn http://agileconsultingllc.com