rfacebook isn't Rails 2.0 compatible 4

Posted by Colin A. Bartlett Sat, 08 Dec 2007 19:24:00 GMT

I started messing around with Facebook app development today just for fun. Since Rails 2.0 is out, I figured I’d use it. However, I quickly discovered the rfacebook gem is not Rails 2.0 compatbile. It’s still using the old render_text method which is now replaced with render(:text => "").

So for now, I just added this to my application.rb:

  def render_text(text)
    render(:text => text)
  end

Which seems to get me up and running. But who knows how many other little issues like this there are. Perhaps I should switch the app back to the previous Rails version? Or maybe I’ll just push forward and submit patches to rfacebook for these.

Comments

Leave a response

  1. Avatar
    Justin about 1 hour later:
    Wow... I just checked Rails Trac, those have been 5 months coming, you'd think the authors would be up on that. Good luck with whatever else fails, definitely think you should submit those patches.
  2. Avatar
    Mat Schaffer 1 day later:
    Better to light a candle than curse the darkness. Patch that sucker!
  3. Avatar
    Colin 1 day later:
    I sent up the patch! It felt good to contribute even if in such a small way.
  4. Avatar
    Juan 26 days later:
    Thanks. 3-Jan-08 and we still need this patch. (gem version 0.9.7)
Comments