ruby on rails posts.

Creating you own internal DNS server

Recently we have been having problems with DNS not resolving with our companies broadband provider. I looked at some open source DNS services, the best one being OpenDNS, but despite them having a couple of boxes in Amsterdam the lookups are still somewhat slow. So the solution? Create our own DNS server :-) This is [...]

Moving your git repos and all branches to a new remote repository

Recently I have been moving a lot of our old repositories into our local gitosis from github. There seems to be no quick an easy solution for moving all of the remote branches across too, so this is how I am currently doing this. Below are the commands I have been using to do this: [...]

How we used Amazon Cloudfront as a CDN with Rails assets

Amazon Cloudfront is a great way of serving your assets for your site from localised buckets. Firstly you need to set up a new distribution from your amazon CloudFront console here. Associate your distribution with a current bucket, or alternatively with a new bucket name, but if you do this you will need to create [...]

Rate The Landlord is updated and re-released!

Rate the Landlord (http://www.ratethelandlord.com) is a project we have been working on at Dynamic50 in house. Renting property is always a minefield, you just don’t know what you are really getting until you move in. Rate the Landlord gives users the ability to see the property before they move in, find out more about the [...]

Cooking With Sass

Hello again. This week I’ve been getting to grips with Sass and seeing what I could do with it. Sass (a rather charming acronym of Syntactically Awesome StyleSheets) is a component of the Haml plugin for Ruby. Where Haml deals with the markup of HTML, Sass deals with the markup of CSS. It describes itself [...]

Textmate issues – env: ruby: No such file or directory

One of the issues that keeps on rearing its ugly head, and I have never got round to fixing is the following error locally on Textmate: env: ruby: No such file or directory Well today I decided to put an end to it! Textmate assumes (wrongly in my case) that Ruby is located at: /usr/local/bin/ruby [...]

Gem to interact with the Amee Project Api

What is the Amee Project? In a nut shell its a project to measure the “Carbon Footprint” of everything on Earth. Amee If you fancy interacting with the service then you might want to look at d50s Gem.

Using Rack to test external api's would that not be nice

Just had a thought. If we could use our integration specs against a rack application for external api’s Then the vendor could just update their small rack application that would fire back up to date api calls. We could then just check that we have latest rack application to test against; Also that way we [...]

Integration Testing with cucumber and pickle

So we have the power of cucumber for our integration tests; its a cool tool. But when we used to write stories; we would find that it hard to make useable steps; that would then relate to readable stories. Enter “Pickle”:git://github.com/ianwhite/pickle.git it will enable you to leverage your factories or blueprints depending on your flavor [...]

Why Would a Ruby on Rails Development Team want to start a Recruitment company?

In September last year over a couple of pints we decided it would be a good idea to start a recruitment company for Ruby on Rails developers, run by… developers. I for one was getting pretty sick of the constant calls from recruiters who knew little to nothing about the technology, or about what was [...]