Displaying 1 result from an estimated 1 matches for "ilight".
Did you mean:
flight
2010 Oct 11
5
Object lost in memory/trashed?
...nt_bookmark", :locals => {
:bookmark => comment }
- else
.comment{:class => cycle("odd", "even")}
= render :partial => "/comments/comment_content", :locals => {
:comment => comment}
## _comment_bookmark.html.haml
= image_tag "/images/iLight/icon.png"
== #{bookmark.user.display_name} lit this diagram
<small>(#{time_ago_in_words bookmark.created_at} ago)</small>
The problem happens in this last file, when calling
bookmark.user.display_name. It raises a Template error:
ActionView::TemplateError (You have a nil object wh...