Skip to content

Instantly share code, notes, and snippets.

@diatmpravin
Created December 15, 2011 11:45
Show Gist options
  • Save diatmpravin/1480823 to your computer and use it in GitHub Desktop.
Save diatmpravin/1480823 to your computer and use it in GitHub Desktop.
def facebook
if facebook.nil?
FbGraph::User.new('me', :access_token => self.fbauth.token).fetch
else
return facebook
end
end
@diatmpravin
Copy link
Author

checking model method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment