Hi,

I really don't understand :

In a partial, I have a collection "@users", in wich I included
"calls" : User.all(:include => :calls") in my controller.

So, in the partial, I have something like :

<% @users.calls.each{|call|%>
    <%=h call.from %>
<% } %>

And the error is that i can't get nil.from.
How a this could be nil ?
--~--~---------~--~----~------------~-------~--~----~
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