Sorry,
I figured it out -- I had neglected to copy my api key etc to
my production settings in config/facebooker.yml.
Ned
On Sat, Mar 21, 2009 at 12:05 AM, Ned Schwartz <ned at theinterned.net>
wrote:
> Hello all,
> I just started using Facebooker. It looks pretty awesome. However I seem to
> be having a strange problem: everything is working fine on my dev box, but
> when I deploy to my server (Dreamhost, rails 2.2.2, passenger 2.0.5) I get
> the following error:
>
> http://gist.github.com/82720
>
> NoMethodError (You have a nil object when you didn''t expect it!
> You might have expected an instance of Array.
> The error occurred while evaluating nil.+):
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:93:in
> `fb_cookie_prefix''
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:97:in
> `fb_cookie_names''
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:97:in
> `select''
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:97:in
> `fb_cookie_names''
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:103:in
> `secure_with_cookies!''
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:25:in
> `create_facebook_session''
> /vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:33:in
> `set_facebook_session''
>
>
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb:178:in
> `send
> ( ... )
>
> I don''t really know where to start with this, so any help would be
> appreciated!
>
> Ned
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/facebooker-talk/attachments/20090321/1a64a65d/attachment.html>