Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails

    <% @authors.each do |author| %>
        <%= author.id %>
        <%= author.firstname %>
        <%= link_to "Delete Ingredient", {:controller => :authors, :action => 'destroy', :id => author.id }, :method => :delete %>
    <% end %>
    

 
PREVIOUS NEXT
Tagged: #rails
ADD COMMENT
Topic
Name
7+7 =