==============================
Templates with errors
==============================
<% if notice.present? %>
<% notice %>
<% end %>
Foods
<% link_to 'New food', new_food_path, class: "block font-medium" %>
<% link_to 'Search Database', database_foods_search_path, class: "block font-medium" %>
<% . render partial: "form", locals: { food: @new_food } %>
<% form_with url: "/search", method: :get do |form| %>
<% form.label :previous_query, 'Search previous foods:' %>
<% form.text_field :previous_query %>
<% form.submit "Search" %>
<% end %>
<% render @foods %>
---
(program
(if
(call (identifier) (identifier))
(then (identifier)))
(call
(identifier)
(argument_list
(string (string_content))
(identifier)
(pair (hash_key_symbol) (string (string_content)))))
(call
(identifier)
(argument_list
(string (string_content))
(identifier)
(pair (hash_key_symbol) (string (string_content)))))
(ERROR)
(call
(identifier)
(argument_list
(pair (hash_key_symbol) (string (string_content)))
(pair (hash_key_symbol) (hash (pair (hash_key_symbol) (instance_variable))))))
(call
(identifier)
(argument_list
(pair (hash_key_symbol) (string (string_content)))
(pair (hash_key_symbol) (simple_symbol)))
(do_block
(block_parameters
(identifier))
(body_statement
(call
(identifier)
(identifier)
(argument_list (simple_symbol) (string (string_content))))
(call
(identifier)
(identifier)
(argument_list
(simple_symbol)))
(call
(identifier)
(identifier)
(argument_list (string (string_content)))))))
(call
(identifier)
(argument_list (instance_variable))))