On Mar 21, 2008, at 11:22 AM, Jattie wrote:> 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"
> %><br>
> 69: <%>
camp.leader.contact.text_address.split("\n").join('',
'') %><br> <br>
> 70:
> 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
Rob Biedenharn http://agileconsultingllc.com
Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---