I have been seen this error a couple of times with totally unrelated
issues.

First I was using Highcharts to create javascript charts, and I was
getting this error when using erb tags to initialize the charts
values. I had to save the values in a javascript variable and then use
the variable in the charts method.

Then I was iterating over a array, and outputting the date of a
related object.

<% @assistances.each do |assistance| %>
   <tr>
   <td><%= l assistance.sitting.date.to_date, :format => :long %></
td>
   <td><%= display_assistance(assistance) %></td>
   </tr>
<% end %>

At first I didn“t realize some of the assistance objects didn't have a
parent sitting oject, but instead of getting a NoMethodError 'date'
for nilClass, I was getting the TypeError.

Also this errors didn't get saved to exceptional.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to