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:

<%= mail_to
camp.leader.contact.email, camp.leader.contact.name, :encode => “hex”
%>

69: <%=
camp.leader.contact.text_address.split("\n").join(’, ') %>


70:
71: P <%=
phone_format(camp.leader.contact.primary_phone) %>
72:
<%
unless camp.full? %>YES<% else %>NO<% end %>

73:
74: <% toggle = toggle ? false : true %>

On Mar 21, 2008, at 11:22 AM, Jattie wrote:

can I find that?
69: <%=
camp.leader.contact.text_address.split(“\n”).join(', ') %>


70:
71: P <%=
phone_format(camp.leader.contact.primary_phone) %>
72:

<%
unless camp.full? %>YES<% else %>NO<% end %>

73:
74: <% toggle = toggle ? false : true %>

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

-Rob

Rob B. http://agileconsultingllc.com
[email protected]