Posts Tagged ‘ruby’

20071005 Removing elements with Hpricot

Something like a month ago, a guy asked me how to remove elements with Hpricot. I told him I would look into it but it’s been a month already! So I hope I can compensate for the delay with this minitutorial on removing stuff with Hpricot! :-) First I created a simple test page. It’s [...]

20070627 Superminigallery: a gallery with ruby, rmagick and builder

Imagine you have been in a very nice place for holidays. You took a lot of pictures and want to show them to your family and friends, but you don’t feel like using services like flickr or programs like iPhoto. You just want to put them in your own server and give the url to [...]

20070615 Extracting data with Hpricot

For those (few) of you which haven’t heard about it, Hpricot is a nice library for parsing HTML in ruby, created by the even nicer _whytheluckystiff, author of Poignant’s Guide to Ruby, Camping and other ruby gems (may you excuse the pun? it was impossible to avoid it). Since I saw one demonstration by Rob [...]

20070313 London Ruby Users Group brings you back to uni

After three failed attempts, I managed to go to yesterday’s lrug meeting. It was intended to be a kind of experimental collective code review, so people would contribute with pieces of code and get it dissected and improved collectively. There was an special obsession with Hashes, most of the code submissions were improvements and/or workarounds [...]

20070122 PHP will never have a (real) Rails-like framework

I know the title is harsh but it’s so true. At least it is according to nowadays php’s implementation of classes and objects, which do not permit to “reopen” and add or redefine new methods to an existing class definition, which is the basis upon Rails (and I presume lots more of applications and frameworks) [...]