ruby on rails - wrong number of arguments (0 for 1) when using 'form' -
app / view / front / get_months.html. Showing the ARB
where the row # 1 has been raised:
Wrong number of arguments (0 for 1) Extracted source (approximately # 1 line): 1: & lt; % = Render: partial = & gt; "Months",: local = & gt; {: Form = & gt; Form}%> RAILS_ROOT: / rails_workcopy / er_spending_report
My get_month.html. ARB
has only one line code if I type & lt;% = form.select (...)%>
, the error still occurs ... can someone show me how to use a partial function? Thanks in advance!
Try it (assuming you are passing the form through a block for the form :
Comments
Post a Comment