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

Embedded Google Maps In Rails Not Responsive

I'm trying to embed Google Maps into my Ruby on Rails website. I am able to search places on t… Read more Embedded Google Maps In Rails Not Responsive

How To Save Complete Html Page With Frames/iframes Included?

During the web scraping I want to save current page's html to a file for later debug. browser.h… Read more How To Save Complete Html Page With Frames/iframes Included?

Strip Text From Html Document Using Ruby

There are lots of examples of how to strip HTML tags from a document using Ruby, Hpricot and Nokogi… Read more Strip Text From Html Document Using Ruby

How To Either Separate Text And Button For Skew, Or Combine Text And Button?

So I have this following code that works, but I can't separate the text from the button. For i… Read more How To Either Separate Text And Button For Skew, Or Combine Text And Button?

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?

Unexpected Characters Injected In Dom Inside Ruby Partial

I have a Ruby partial controlling lists. It takes an attribute for an icon, label, and hyperlink. T… Read more Unexpected Characters Injected In Dom Inside Ruby Partial