Showing app/views/frontend/get_months.html.erb where line #1 raised:
wrong number of arguments (0 for 1)
Extracted source (around line #1):
1: <%= render :partial => "months", :locals => {:form => form} %>
RAILS_ROOT: /rails_workcopy/er_spending_report
My get_month.html.erb has only one line of code.
if i use <%= form.select(...) %>, the error still occurs...
anyone can show me how to use render partial function?
Thanks in advance!