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

How To Select Data From Api Call Result In Rails?

I’m completely new to ruby on rails, I’m creating a simple article search application that would u… Read more How To Select Data From Api Call Result In Rails?

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?

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?

How To Have Pdf Viewer In Ruby

How can I embeded pdf viewer in ruby on rail? Now I tried but it doesn't work. I used firebug… Read more How To Have Pdf Viewer In Ruby

How To Insert A Block Every Several Div With Haml?

I want to insert a div.row every three blocks in order to wrap three span together for the followin… Read more How To Insert A Block Every Several Div With Haml?

Repairing Invalid Html With Nokogiri (removing Invalid Tags)

I'm trying to tidy some retrieved HTML using the tidy-ext gem. However, it fails when the HTML … Read more Repairing Invalid Html With Nokogiri (removing Invalid Tags)