Hello,

I'm trying to display chat messages from different users, and the
content is to be read from respective partials.
When I render the partials, I get the following error: `...@...' is not
allowed as an instance variable name
This is the view:

 <% for contact in @contacts %>
  <div id="chat_content_<%= contact.partner_id%>">
   <%= render(:partial => contact.partner_id) %>
  </div>
  <div>
   <% form_tag ... do %>
    . . .
   <% end %>
  </div>
 <% end %>
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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