22 Jan 2009, 08:44
Generic-user-small

Adeel Ahmad (1 post)

I’ve got Facebooker installed on my app but as soon as I start my app and go to localhost:3000 I get the following error:

.../vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_helper.rb:94:in `convert_options_to_javascript_without_facebooker!’
.../vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_helper.rb:94:in `convert_options_to_javascript!’
.../vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb:69:in `link_to’
.../app/views/main/index.rhtml:18:in `_run_rhtml_47app47views47main47index46rhtml’

The line in the view template it’s talking about is: <%= link_to “(view all)”, {:controller => “products”, :action => “index”}, :style => “float: right;”) %>

When I remove the style hash it’s fine with this line but then it catches an error on the very next link_to that has an html_option.

Can someone explain why this is happening, and whether html_option is really incompatible with facebooker?

22 Jan 2009, 13:53
Head_pragsmall

Mike Mangino (543 posts)

Can you post the whole error? It should definitely work.

Mike

  You must be logged in to comment