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
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ef6a2e6d-f51d-4498-89fd-551b4bd8abd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment