Sha256: b35f341ede7dd68743406ddcfb0ca8381a356d539d5b56b60507cab1dc9dafb3

Contents?: true

Size: 554 Bytes

Versions: 4

Compression:

Stored size: 554 Bytes

Contents

<%= @author.name %>
<%= @author.capitalized_name %>
<%= @author.books.first.upcased_title %>
<%= @author.books.last.upcased_title %>
<% if p = @author.publishers.take %><%= p.upcased_name %><% end %>
<% if Rails.version.to_f >= 5.1 && p = @author.publishers.second_to_last %><%= p.reversed_name %><% end %>
<% if p = @author.profile %><%= p.address %><% end %>
<% if h = @author.profile_history %><%= h.update_date %><% end %>
<% if m = @author.magazines.first %><%= m.upcased_title %><% end %>
<% if c = @author.company %><%= c.reverse_name %><% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_decorator-1.3.3 test/fake_app/app/views/authors/show.html.erb
active_decorator-1.3.2 test/fake_app/app/views/authors/show.html.erb
active_decorator-1.3.1 test/fake_app/app/views/authors/show.html.erb
active_decorator-1.3.0 test/fake_app/app/views/authors/show.html.erb