search for: photocom

Displaying 1 result from an estimated 1 matches for "photocom".

Did you mean: photocopy
2006 Mar 20
11
has_many brings back ''uninitialized constant''
...rder %>.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 differently? Thanks in advance, I appreciate it. -tyler -- Posted via http://www.ruby-forum.com/.