app/views/themes/base/attributes/_block.html.erb in bullet_train-themes-1.2.27 vs app/views/themes/base/attributes/_block.html.erb in bullet_train-themes-1.3.0
- old
+ new
@@ -1,9 +1,9 @@
<% object ||= current_attributes_object %>
<% strategy ||= current_attributes_strategy || :none %>
<% url ||= nil %>
-<% if object.send(attribute).present? %>
+<% if object.public_send(attribute).present? %>
<%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %>
- <pre><%= object.send(attribute) %></pre>
+ <pre><%= object.public_send(attribute) %></pre>
<% end %>
<% end %>