The facebooker version of redirect_to doesn''t work with polymorphic
routes yet. For now use the full url. It''ll be great if someone can
come up with a patch. Right now we just pass along the args to the
fbml redirect tag, assuming it is a url.
Shane
On Thu, Feb 14, 2008 at 1:36 PM, Nicholaus Ames <ri at niculo.us>
wrote:> I saw that back in Jan there was a bug with the redirect_to. The
> thread ended with no resolution. Anybody know whats up with that?
> Not sure if my problem is the same but below is my error log:
>
> NoMethodError (undefined method `symbol_url'' for
#<WantsController:0xb72e5984>):
>
/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb:27:in
> `send!''
>
/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb:27:in
> `polymorphic_url''
> /vendor/rails/actionpack/lib/action_controller/base.rb:618:in
`url_for''
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:129:in
> `fbml_redirect_tag''
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:122:in
> `redirect_to''
> /app/controllers/wants_controller.rb:6:in `index''
> /vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
`send''
>
> --
> Nicholaus Ames
> 503-544-5813
> ri.niculo.us
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
>
--
http://shanesbrain.net | http://crimsonjet.com | http://myfitbuddy.com