Hi Richard,<br><br>Sorry that parentheses was not there when I ran the code... it was leftover from some experimentation I was doing right after to try and figure it out.<br><br>Here is the top of the error notice:<br><br>
<h1>
ArgumentError in
Main#index
</h1>
<p>
Showing <i>app/views/main/index.rhtml</i> where line <b>#18</b> raised:
</p><pre><code>wrong number of arguments (2 for 1)</code></pre><br>Thanks,<br><blockquote style="margin: 1.5em 0pt;"></blockquote>- Adeel<br><br>Founder/President<br>Proletarian Design LLC<br>1066 47th Ave., Suite 19<br>
Oakland, CA 94601<br>t: 415.205.0274<br>f: 415.871.2200<br>skype: a2ahmad<br>twitter: _adeel<br><a href="http://www.proletariandesign.com">www.proletariandesign.com</a><br>
<br><br><div class="gmail_quote">On Thu, Jan 22, 2009 at 11:48 AM, Richard Jordan <span dir="ltr"><<a href="mailto:jordanr@cs.washington.edu">jordanr@cs.washington.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Adeel,<br>
<br>
For one thing, you have a syntax error. Remove the last paren after "float:right;" on your first link_to.<br>
<br>
Change,<div class="Ih2E3d"><br>
<%= link_to "(view all)", {:controller => "products", :action => "index"}, :style => "float: right;") %><br>
<br></div>
To,<div class="Ih2E3d"><br>
<%= link_to "(view all)", {:controller => "products", :action => "index"}, :style => "float: right;" %><br>
<br></div>
I think you'll still have an error. What's the error type? (ex. ActionController::RoutingError, MethodError, etc.). You see it right above the trace.<br>
<br>
Sincerely,<br><font color="#888888">
Richard<br>
</font></blockquote></div><br>