Skip to content

Instantly share code, notes, and snippets.

@timuruski
Created August 16, 2011 19:02
Show Gist options
  • Select an option

  • Save timuruski/1149859 to your computer and use it in GitHub Desktop.

Select an option

Save timuruski/1149859 to your computer and use it in GitHub Desktop.
Gold star for anyone who can figure out what toh means
plugins= get_plugins()
toh= plugins.is_logged_in(authDevice._id.to_s)
if toh
to= toh["to"]
foreign_id= toh["foreign_id"]
username= to + ":" + foreign_id
authUser= AuthUser.find_by_username(username)
# ...
end
@stevedev

Copy link
Copy Markdown

Is this actual ruby code? I feel like I'm looking at a different programming language.

@stevedev

Copy link
Copy Markdown

toh = this old house. I win?

@timuruski

Copy link
Copy Markdown
Author

Steve gets the gold star!

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