Tag Archives: ruby

The Simplest Possible Cucumber Test

I’m not really that good at testing. So what, so are a lot of people. Having some tests is better than none! And, the way testing tutorials are written can seem really complex and scary. Today I started thinking about … Continue reading

Posted in Technology, Web Design, rubyonrails | Tagged , , , , , , , | Leave a comment

Generate Random Passwords

I wrote an article on the Sustainable Websites Blog on a quick program to Generate Random Passwords.

Posted in Technology, software | Tagged , , , , | Leave a comment

Screen Scraping with Ruby

Useful short presentation explaining regular expressions, xpath, firebug, hpricot and screen scraping Continue reading

Posted in Bookmarks, rubyonrails | Tagged , , , , | Comments Off

Rails for PHP Developers – Reference

Finally, this is a great resource for PHP programmers switching to Ruby like me. This function reference covers commonly used PHP libraries to their closest Ruby equivalents. The reference is structured very closely against the PHP reference library. Continue reading

Posted in Bookmarks | Tagged , , , | Comments Off

WHM XML API Ruby

I’m working on a ruby wrapper to the WHM (Web Host Manager) XML API. It is on GitHub and it is under an MIT open source license. This code can be used to manage a reseller account on a web … Continue reading

Posted in Web Design | Tagged , , , , , , , | 2 Comments

RailRoad diagrams generator

RailRoad is a class diagrams generator for Ruby on Rails applications. It's a Ruby script that loads the application classes and analyzes its properties (attributes, methods) and relationships (inheritance, model associations like has_many, etc.) The output is a graph description in the DOT language, suitable to be handled with tools like Graphviz. Continue reading

Posted in Bookmarks | Tagged , , , , | Comments Off

Ruby on Rails SEO Tips

Posted in Bookmarks, rubyonrails | Tagged , , , , | Comments Off

Ruby on Rails Code Quality Checklist – Articles – Matthew Moore

In Matt Moore's experience, Ruby and Ruby on Rails has been one of the most difficult language/framework combinations to truly master. For someone who grew up on C, C++ & Java in the majority of their training, Ruby has hugely different (and better!) ways of OO design, and the Rails framework has a lot of opinions to be understood and remembered. As long as it's taken to master them to the level he has – and he's sure there's still a long way to go – he loves it and won't be going back. Continue reading

Posted in Bookmarks, Web Design, rubyonrails | Tagged , , , , , , | Comments Off

How to remove subversion (SVN) info from a project

Sometimes when I’m coding I need to remove all the subversion (SVN – a source code version control program, which if you’re a non-programmer, you could also use for any documents you want to version control) information from the project. … Continue reading

Posted in Web Design | Tagged , , , | 7 Comments

Sinatra : Classy web-development dressed in a DSL

The world doesn’t think it needs another Ruby web framework, but Sinatra is so different it will cut out a new market. A whole web app can be encapsulated in a single Sinatra file, making it especially ideal for small … Continue reading

Tagged , , , | 1 Comment