Skip to content

Instantly share code, notes, and snippets.

Created July 13, 2010 18:27
Show Gist options
  • Save anonymous/474290 to your computer and use it in GitHub Desktop.
Save anonymous/474290 to your computer and use it in GitHub Desktop.
TodoController#show_date (ActionView::TemplateError) "wrong number of arguments (1 for 0)"
On line #10 of app/views/todo/_contact_event.html.erb
<% end %>
<% if scope == "overdue" %>
<% if (from_today(contact_event, event.days) < 0) && show_status(contact_event, event) == 'no status' %>
<%= render :partial => "contact_event_list", 12: :locals => {:contact_event => contact_event, :event => event} %>
<% end %>
app/helpers/contacts_helper.rb:7:in `to_s'
app/helpers/contacts_helper.rb:7:in `show_email_status'
app/helpers/contacts_helper.rb:50:in `send'
app/helpers/contacts_helper.rb:50:in `show_status'
app/views/todo/_contact_event.html.erb:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment