[Facebooker-talk] fb:dialog-content
Mike Mangino
mmangino at elevatedrails.com
Wed Aug 13 07:59:43 EDT 2008
Interesting. Somehow the code is trying to render the error page
inside a publisher. That will likely cause some problems. Can you
rescue the exception in your publisher and get some additional detail
about what is going wrong?
Mike
On Aug 13, 2008, at 7:28 AM, dara wrote:
> Hi,
>
> I'm seeing the following error when trying to use an fb:dialog-
> content within an fb:dialog tag.
> Have any of you hit and solved this already ?
>
> ActionView::TemplateError (private method `gsub' called for {}:Hash)
> on line #7 of /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/
> actionpack-2.1.0/lib/action_controller/templates/rescues/
> diagnostics.erb:
> 4: in <%=h request.parameters['controller'].humanize
> %>Controller<% if request.parameters['action'] %>#<%=h
> request.parameters['action'] %><% end %>
> 5: <% end %>
> 6: </h1>
> 7: <pre><%=h @exception.clean_message %></pre>
> 8:
> 9: <%= render_file(@rescues_path + "/_trace.erb", false) %>
> 10:
>
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
> active_support/core_ext/pathname/clean_within.rb:7:in `clean_within'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/
> active_support/core_ext/exception.rb:11:in `clean_message'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_controller/templates/rescues/diagnostics.erb:7:in
> `
> _run_erb_47home47dara47apps47ruby45146846647lib47ruby47gems47146847gems47actionpack45246146047lib47action_controller47templates47rescues47diagnostics46erb
> '
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_view/base.rb:338:in `send'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_view/base.rb:338:in `execute'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_view/template_handlers/compilable.rb:29:in `send'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_view/template_handlers/compilable.rb:29:in `render'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_view/template.rb:35:in `render'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_view/template.rb:22:in `render_template'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_view/base.rb:245:in `render_file'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_controller/rescue.rb:181:in `rescue_action_locally'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_controller/rescue.rb:125:in `rescue_action'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_controller/rescue.rb:203:in `perform_action_without_caching'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/
> action_controller/caching/sql_cache.rb:13:in `perform_action'
> /apps/ruby-1.8.6/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/
> active_record/connection_adapters/abstract/query_cache.rb:33:in
> `cache'
> ...
>
>
>
> This is within the profile, sent through a publisher, and in the
> context of the bebo social networking service.
>
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
--
Mike Mangino
http://www.elevatedrails.com
More information about the Facebooker-talk
mailing list