Hi Fred,
I know it's there but i dont now how to use it!
Should I put it in a model method and use it like this:
def twitter_search
@twitter_search = Twitter::Search.new('#rails')
end
Should I put it in the Application controller and call a before filter
in my other controllers, where i want to use the method?
Please let me know if you know how to use it...
On 4 Nov., 10:33, Frederick Cheung <[email protected]> wrote:
> On Nov 4, 7:05 am,andkjaer<[email protected]> wrote:> Dosen't anybody
> know how to use the GEM?
>
> what about the 4 examples on the gem's website (which you linked to
> earlier) ?
>
> Fred
>
> > Thanks...
>
> > On 3 Nov., 19:08,andkjaer<[email protected]> wrote:
>
> > > 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
-~----------~----~----~----~------~----~------~--~---