[Facebooker-talk] convert_options_to_javascript_without_facebooker breaking link_to?
Adeel Ahmad
adeel at proletariandesign.com
Thu Jan 22 03:46:43 EST 2009
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?
-a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20090122/42d9d868/attachment.html>
More information about the Facebooker-talk
mailing list