public
anonymous / arguments_error.rb
Last active

  • Download Gist
arguments_error.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.