Sha256: fc7fa454b944f5f3e2a8f50b67952dd4a694118418636a55aaa8c87cc7dbf2f2

Contents?: true

Size: 583 Bytes

Versions: 5

Compression:

Stored size: 583 Bytes

Contents

<%= @author.name %>
<%= @author.capitalized_name %>
<%= @author.books.first.upcased_title %>
<%= @author.books.last.upcased_title %>
<% if Rails.version.to_f >= 4.0 && 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

5 entries across 5 versions & 1 rubygems

Version Path
active_decorator-1.2.0 test/fake_app/app/views/authors/show.html.erb
active_decorator-1.1.1 test/fake_app/app/views/authors/show.html.erb
active_decorator-1.1.0 test/fake_app/app/views/authors/show.html.erb
active_decorator-1.0.0 test/fake_app/app/views/authors/show.html.erb
active_decorator-0.9.0 test/fake_app/app/views/authors/show.html.erb