find li by class with nokogiri parse html

Why have you got a space after li?

Colin

Got that syntax somewhere on the web, I took it out and it still doesn’t work

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

Also, these posts get submitted accidentally when I type on my laptop I don’t know how it happens

Why have you got a space after li?

Colin

I’m trying to find

  • 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.

    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

    Because this is effectively a mailing list. Once it is in our inboxes you obviously cannot delete it.

    Colin

    maybe i should just search for the class without the li