search for: a_comment

Displaying 2 results from an estimated 2 matches for "a_comment".

Did you mean: _comment
2004 Oct 07
2
TDM400P with FXO/FXS hangup problem
Hello, I've got an Asterisk server with a TDM400P with 2 FXO modules and 2 FXS modules. This server is connected to 2 PSTN lines and 2 analog phones. In my Zaptel configuration, I've defined 2 groups : one for the 2 FXO's and one for the 2 FXS. The asterisk server is just used to add a little IVR and Voicemail service. Eveything works fine, but sometimes the conversation is
2006 Mar 20
11
has_many brings back ''uninitialized constant''
...et the desired photo like this: @photos = Photo.get_photo(params[:photo]) On the view side for this, I have this line to display the photo: <img src="/photos/<%= @photos.the_order %>.jpg" /> To get the comments, I''ve been trying to do something like this: <% for a_comment in @photos.photo_comment %> <p><%= a_comment.comment %></p> <% end %> However, when I run this code, I get this error: "uninitialized constant PhotoComment" Any suggestions on how to fix this, or am I approaching this the wrong way and need to do it differen...