Hi,
this is a piece of my index.rhtml page
<%= @bolle.inspect %>
<!-- Scansione delle bolle -->
<% for @bolla in @bolle %>
<b><%= @bolla.databolla.inspect %></b>
<tr>
<td><%= link_to @bolla.id, { :action =>
"visualizza", :id => @bolla.id }%></td>
<td><%= @bolla.databolla.inspect
%></td>
<td><%= @bolla.client.ragionesociale
%></td>
<td><%= @bolla.numerocolli %></td>
<td><%= @bolla.aspetto_esterno.descrizione
%></td>
</tr>
<% end %>
</table>
I just show an HTML table with some values. It was working fine. Until
now, when the @bolla.databolla is nil! On the DB the value is a
date... the @bolle.inspect say so:
[#"1", "oratrasporto"=>"10:02:00",
"client_id"=>"1",
"numerocolli"=>"3", "id"=>"54",
"aspetto_esterno_id"=>"2",
"causale_trasporto_id"=>"1",
"note"=>"-", "infovettore"=>"",
"stato"=>"inattesa",
"datatrasporto"=>"16/03/2005",
"databolla"=>"16/03/2005"}>]
but @bolla.databolla.inspect say nil
now I''m a little confused... someone can give me a suggestion... Ive
tried to shutdown webrick and postgres too without changes.
Thanks,
Enrico
--
"The only thing necessary for the triumph of evil
is for good men to do nothing"
Edmund Burke