[Facebooker-talk] facebook_form_for + a little ajax?

Mike Mangino mmangino at elevatedrails.com
Thu Sep 11 08:30:52 EDT 2008


Are you calling form.select_tag? That won't work. select_tag is not a  
method on the form builder (this is true any time you use form_for in  
rails)

You can do form.text select_tag... to wrap a normal select inside a  
facebook form.

Mike
On Sep 11, 2008, at 1:45 AM, Zhao Lu wrote:

> Hello Everyone,
>
> I'm using a facebook_form_for which is bound to a model.  In the form
> I have a form.select which is populated with an array of the names of
> images.
> Whenever I change the selection I'd like to display the image on the
> same page.  I tried to change form.select to select_tag but that
> doesn't seem to play well with facebook_form_for.  I'm pretty confused
> as to how to approach this.  Any suggestion would be appreciated.
>
> -- 
> Zhao
> _______________________________________________
> 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