[Facebooker-talk] convert_options_to_javascript_without_facebooker breaking link_to?
Adeel Ahmad
adeel at proletariandesign.com
Thu Jan 22 14:51:55 EST 2009
Hi Richard,
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.
Here is the top of the error notice:
ArgumentError in Main#index
Showing *app/views/main/index.rhtml* where line *#18* raised:
wrong number of arguments (2 for 1)
Thanks,
- Adeel
Founder/President
Proletarian Design LLC
1066 47th Ave., Suite 19
Oakland, CA 94601
t: 415.205.0274
f: 415.871.2200
skype: a2ahmad
twitter: _adeel
www.proletariandesign.com
On Thu, Jan 22, 2009 at 11:48 AM, Richard Jordan
<jordanr at cs.washington.edu>wrote:
> Dear Adeel,
>
> For one thing, you have a syntax error. Remove the last paren after
> "float:right;" on your first link_to.
>
> Change,
> <%= link_to "(view all)", {:controller => "products", :action => "index"},
> :style => "float: right;") %>
>
> To,
> <%= link_to "(view all)", {:controller => "products", :action => "index"},
> :style => "float: right;" %>
>
> 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.
>
> Sincerely,
> Richard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20090122/f6631183/attachment.html>
More information about the Facebooker-talk
mailing list