Re: [twitter-dev] Ruby way using twitter_oauth

2011-02-01 Thread Patrick Kennedy
Specifically, here's what I tried, but it doesn't seem to quite fly - before do next if request.path_info =~ /ping$/ @user = 'kennedypj'# @user = session[:user] @client = TwitterOAuth::Client.new( :consumer_key => @@config['consumer_key'], :consumer_secret => @@config['consumer

[twitter-dev] Ruby way using twitter_oauth

2011-02-01 Thread Patrick
I'm somewhat burnt out on PHP development, and want to get into Ruby. The twitter_oauth gem by @moomerman looks great. He says: "Now if you keep hold of the access_token (usually in the database) for this user you won’t need to re-authorize them next time. When you create an instance of the clien