Tagged with rails

Stop worrying and start loving Rails 3

Written by Ben

Wow, I said to myself, is this really happening? Surely it must be a joke. No, merb is merging with Rails! I had to pinch myself. After all the recent bitchiness this was the last thing I was expecting.
I am a big fan of both frameworks, I use Rails at work and merb at home [...]

5 Reasons Why Rails Developers Will Survive the Credit Crunch

Written by Ben

So we are in the throws of an economic downturn that the media in the UK has named ‘the Credit Crunch’.
I read recently on Techcrunch about the angel investor Ron Conway sending an email to his portfolio companies offering advice for the immediate future.
There is no doubt that silicon valley is feeling the global financial [...]

Ruby Tip: Normalizing Hash Keys as Symbols

Written by Ben

Ruby hash keys can be any type of object apart from an integer, but typically they are used in two ways when coding a rails app.
With string keys:
{”a” => “hash”}
Or symbol keys:
{:a => “hash”}
When writing a method that uses a hash of arguments you should handle both styles of hashes. There are a number of [...]