On Tue, Nov 3, 2009 at 2:31 PM, andkjaer <[email protected]> wrote:
>
> I try to use it like this:
>
> def twitter_search
>     @twitter_search = Twitter::Search.new('#rails')
> end
>
OK, I haven't used the Twitter gem, so I don't know the right syntax,
but you're certainly using it as a module.
Are you sure that's the right way to use it?
If it is, have you required the file where Twitter is defined?



-- 
Leonardo Mateo.
There's no place like ~

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to