app/views/effective/logs/_log.html.haml in effective_logging-1.7.0 vs app/views/effective/logs/_log.html.haml in effective_logging-1.7.1

- old
+ new

@@ -27,10 +27,10 @@ .col-lg-6 - if log.user.present? %strong User: &nbsp; = (log.user.to_s.starts_with?('#<User:0x') ? (log.user.email rescue log.user) : log.user) - - if log.associated.present? + - if (log.associated.present? rescue false) %br %strong Regarding: &nbsp; - if log.associated.to_s.starts_with?('#<') = "#{log.associated.class.name} ##{log.associated.to_param}"