Re: [Rails] find li by class with nokogiri parse html

7 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Colin Law

nieprzeczytany,
8 paź 2018, 09:24:268.10.2018
do Ruby on Rails: Talk
Why have you got a space after li?

Colin

On Mon, 8 Oct 2018 at 12:07, fugee ohu <fuge...@gmail.com> wrote:
I'm trying to find <li class="brand-content">
pry(main)> rows=mylist.css("li .brand-content")

--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/362a2994-c908-4bf2-997a-6ffdf786854b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fugee ohu

nieprzeczytany,
8 paź 2018, 12:34:308.10.2018
do Ruby on Rails: Talk
Got that syntax somewhere on the web, I took it out and it still doesn't work 
 

fugee ohu

nieprzeczytany,
8 paź 2018, 12:36:018.10.2018
do Ruby on Rails: Talk


On Monday, October 8, 2018 at 9:24:26 AM UTC-4, Colin Law wrote:
I deleted this as soon as I posted it because there's no edit and reposted I don't know how you  were able to reply

fugee ohu

nieprzeczytany,
8 paź 2018, 12:37:248.10.2018
do Ruby on Rails: Talk


On Monday, October 8, 2018 at 9:24:26 AM UTC-4, Colin Law wrote:
For more options, visit https://groups.google.com/d/optout.

Also, these posts get submitted accidentally when I type on my laptop I don't know how it happens
Wiadomość została usunięta

Colin Law

nieprzeczytany,
8 paź 2018, 15:58:528.10.2018
do Ruby on Rails: Talk
Because this is effectively a mailing list.  Once it is in our inboxes you obviously cannot delete it.

Colin
 

--
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-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

fugee ohu

nieprzeczytany,
8 paź 2018, 16:20:088.10.2018
do Ruby on Rails: Talk
maybe i should just search for the class without the li 
Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0