Chris over at Err the Blog have a great article about how you can very quickly and easily create ATOM syndication of your content with a gem called mofo.
Continue Reading…So there has been quite a lot of talk of late about merb, the new up and comer vying for the rails crown. It was initially developed by Ezra of EngineYard fame, and it’s generally considered that “They know their stuff”(tm). So what is merb? Is it a viable alternative to rails? How easy/hard is the migration from one to the other?
I figured it was long overdue that I take a look.
Continue Reading…Silencing test output with Test::Unit
Posted by glenn gillen on Jan 14, 2008
James Golick has released a great little gem to help reduce the noisy output from Test::Unit. My days of heavy testing with Test::Unit have been waning of late due to the progressive migration over to rspec, but that’s not to say this won’t come in handy.
Continue Reading…Top 17 Do's and Don't for Search Engine Optimisation
Posted by glenn gillen on Jan 11, 2008
Posted in search engine optimisation
For those that aren’t actively involved in search engine optimisation, it can seem like quite the dark art. And truth be told, those that are exceptionally good at it do know a few little tricks here and there that can mean the difference between appearing 10th or 1st for a given keyword. However, there are some basic fundamental rules you can follow to significantly improve your ranking naturally.
Continue Reading…Testing web services with rspec
Posted by glenn gillen on Jan 07, 2008
Posted in rspec, ruby on rails, web services
So you’ve come over to testing with rspec and it first the bill on most occasions. There are still a few areas though, like decent integration testing, where you still fall back to Test::Unit. So what about testing web services? Sure, ActionWebService is no longer part of rails core but a number of my clients have legacy systems we need to talk to, or 3rd party applications that have been built around SOAP. And at the end of the day, they’re still a damn sight better than many of the other alternatives even if it’s not part of the new church of REST.
So now it’s time to combine the best of the old-school with the best of the new, SOAP meets RSpec
Continue Reading…Unobtrusive javascript with lowpro
Posted by glenn gillen on Jan 03, 2008
Posted in javascript, prototype
Dan Webb’s lowpro library has been around for quite a while now, but if the sites I frequent are anything to go by it’s adoption is far from widespread. Why? Frankly, I don’t know. It’s a brilliant library and if you’re already using things like prototype and scriptaculous but you’re not all over lowpro then there is a good chance you need to be seriously smacked around a bit.
Continue Reading…