ramkaka
2008-Jul-24 04:45 UTC
[Facebooker-talk] infinite_session renamed to offline_access
Hopefully it will save someone a day. Apparently they renamed infinite_session to offline_access. So use that in your fb:prompt_permission -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080724/81d15e26/attachment.html>
Hi there, Is there any way to set the default value for text_area using facebook_form_for? I would like to do something like, <fb:editor-textarea> You can set the initial value too. </fb:editor-textarea> Best, Rajiv
Yes, just set the value of the object in question. So if you are doing <% facebook_form_for :comment, at comment ... %> <%= f.text_area :body %> <%= f.buttons :save %> <% end %> you could have a controller that looks like: def new @comment = Comment.new(:body=>"Initial text here") end Mike On Jul 24, 2008, at 5:08 AM, Rajiv M Ranganath wrote:> Hi there, > > Is there any way to set the default value for text_area using > facebook_form_for? I would like to do something like, > > <fb:editor-textarea> > You can set the initial value too. > </fb:editor-textarea> > > Best, > Rajiv > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
Mike Mangino
2008-Jul-24 11:49 UTC
[Facebooker-talk] infinite_session renamed to offline_access
Thanks for pointing this out. I changed the allowed value in the Facebooker helpers. Mike On Jul 24, 2008, at 12:45 AM, ramkaka wrote:> Hopefully it will save someone a day. Apparently they renamed > infinite_session to offline_access. > So use that in your fb:prompt_permission > > > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com