On Monday, June 22, 2015 at 12:12:08 AM UTC+8, Frederick Cheung wrote:
>
> On Sunday, June 21, 2015 at 3:06:01 PM UTC+3, Edsil Basadre wrote: 
> > I'm building an app in rails using Nokogiri .. I used puts 
> documents.css("._Ak cite").length and I get the exact length I want but 
> when I tried the id part of the of this puts documents.css("div#mbEnd > 
> cite").length I didn't get the exact, makes 0 length.  
> > 
> > 
> > I don't know why nokogiri not recognizing the tag.  
>
> Sounds like it just doesn't match your document but without seeing an 
> excerpt there's not much more that can be said. 
>
> Fred


I really don't why I can't get the data if I used id because when I tried 
the class it will gives the exact data. Is there any ways that can I used 
 id to fetch the data?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/f0622f74-3b5e-436f-8d44-9896253a196c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to