Yeah sorry when I copy the text I didn't select the @. But with that the 
issue stil there...

If I use 

  <% @photo.each do |photo| %>
      <%= photo.user_id %>
  <% end %>

Should work? It should iterate arround all the elements that Photos has?. 


Thanks & best regards.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/7609034e-ca0c-43d4-8325-bf918b3649cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to