views:

19

answers:

0

Hi there,

Im about to implement facebook connect in to my rails application.

One very strange problem is, that link_user_accounts does get called, but nothing gets executed... (debugger stops at def link_user_accounts and then jumps over the next debugger steps)

def link_user_accounts
  if self.current_user.nil?
    User.create_from_fb_connect(facebook_session.user)
  else
    self.current_user.link_fb_connect(facebook_session.user.id) unless
    self.current_user.fb_user_id == facebook_session.user.id
  end
  redirect_to '/'
end

But even:

def link_user_accounts
  redirect_to '/'
end

does not go through the methode... I have RubyMine installed and the debugger is working perfect!

Anybody familiar with such a behaviour? I guess it is more a facebooker problem than a rails one..

Thanks Markus