%h1 Listing books %table %tr %th ID %th Title %th Slug - books.each do |book| %tr %td= book.id %td= book.title.value %td= book.slug.try(:value)