Answers for "rails"

0

rails

<% @authors.each do |author| %>
        <%= author.id %>
        <%= author.firstname %>
        <%= link_to "Delete Ingredient", {:controller => :authors, :action => 'destroy', :id => author.id }, :method => :delete %>
    <% end %>
Posted by: Guest on August-21-2021

Browse Popular Code Answers by Language