Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ruby

Html5 Web Sockets - How To Communicate With Them?

I've tested many socket examples and communication between them was pretty simple: socket is op… Read more Html5 Web Sockets - How To Communicate With Them?

Selecting Element From Dropdown Without Id Capybara

I am trying to use capybara (ruby bindings) to select an item from a dropdown that does not have an… Read more Selecting Element From Dropdown Without Id Capybara

Extract Data From Html Table With Mechanize

First of all, here is the sample html table : Kangchenjunga 8,586m Solution 1: More succint v… Read more Extract Data From Html Table With Mechanize

How To Make Nokogiri Transparently Return Un/encoded Html Entities Untouched?

How can I use Nokogiri with having html entities (like German umlauts) untouched? I.e.: # this is f… Read more How To Make Nokogiri Transparently Return Un/encoded Html Entities Untouched?

How To Serve Static Html Pages With Rails?

I have Rails application with documentation which is static html pages in the /public folder. The t… Read more How To Serve Static Html Pages With Rails?

Json Or Html: Which Output Can Perform Better?

I am thinking of improving website performance by moving rendering to the client side. The current … Read more Json Or Html: Which Output Can Perform Better?

How To Use Html Id In A Ruby If Statement Condition

I'm trying to render a form depending on which checkbox has been ticked. I want to use an if st… Read more How To Use Html Id In A Ruby If Statement Condition

What Is The Best Way To Parse A Web Page In Ruby?

I have been looking at XML and HTML libraries on rubyforge for a simple way to pull data out of a w… Read more What Is The Best Way To Parse A Web Page In Ruby?