Scanning...
<% if can? :read_details, Mac
 @log.each do |log| %>
  <%= log.mac %> = 
  <%= log.ip %><br/>
<% end 
end %>