Skip to content

Instantly share code, notes, and snippets.

@caike
Created January 30, 2009 02:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caike/54902 to your computer and use it in GitHub Desktop.
Save caike/54902 to your computer and use it in GitHub Desktop.
post '/list_twits' do
twit = Twitter::Search.new
tiwts = twit.from(params[:login])
@twits = []
tiwts.each do |t|
@twits << t.text
end
erb :list
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment