Is i did :O( BIG MISTAKE!
But still what is the right way to use a gem like this?
Is it really the right way to call the search method?
def twitter_search
@twitter_search = Twitter::Search.new('#rails')
end
On 3 Nov., 18:33, Frederick Cheung <[email protected]> wrote:
> On Nov 3, 12:50 pm, andkjaer <[email protected]> wrote:
>
> > Hi im working with the Twitter gem, suddenly i get this error:
>
> > Twitter is not a module
>
> One vague stab in the dark: do you define a class of your own called
> Twitter ?
>
> Fred
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---