Displaying 2 results from an estimated 2 matches for "a_com".
Did you mean:
__com
2004 Oct 07
2
TDM400P with FXO/FXS hangup problem
...francais]
exten => s,1,DigitTimeout,2
exten => s,2,ResponseTimeout,3
exten => s,3,Background(fr_serv_com)
exten => s,4,Background(fr_serv_tech)
exten => s,5,Background(fr_serv_adm)
exten => s,6,Background(fr_serv_ope)
; 1 -> contact commercial
exten => 1,1,Dial(Zap/g1,20,A(a_com))
; r?pondeur si pas de r?ponse :
exten => 1,2,Background(fr_dsl)
exten => 1,3,Background(fr_messagerie)
exten => 1,4,Background(fr_coord)
exten => 1,5,Background(fr_contact)
exten => 1,6,VoiceMail(s1)
; r?pondeur si occup?
exten => 1,102,Background(fr_dsl)
exten => 1,103,Backg...
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 diff...