hi all,

I have an error "undefined method `each' for #<Picture:0x927dea0>"
what is that mean?

in my view
[code]

<% @user.each do |p| %>
<%= p.image %>
<% end %>

[/code]


in controller
[code]
           @user=picture.all(
                 :joins => :culture,
                  :conditions => (Album.joins(:description))).first

[/code]


plz give me some advance

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to