Sending Message:

app
message


<% $apps.each_with_index { |app, index| %> <% if (index == 0) then %>
<% else %>
<% end %> <% @p["#{index}".to_i].each { |x| %> <% } %>
id pid app message created time
<%= x.id %> <%= x.pid %> <%= x.app %> <%= x.message %> <%= x.created_at %>
<% } %>