Sitemap Generator for Ruby on Rails Applications

Follow these steps if you wish to add a sitemap.xml generator to a rails application. The idea is to generate a sitemap.xml for selected records from the database, in this case they are Articles and Categories. This sitemap is pinged to popular search engines like google, yahoo, bing and ask.

Step 1:
Add a sitemap.rb file to [...]

Birdpie Launched on Rails 3.0

We have just released Birdpie, a small twitter application for storing and managing the urls that you tweet. Birdpie utilises Twitter auth in order to simplify the sign up process and is Dynamic50’s first experimentation with Rails 3.0 pre.Once a user is signed up, Birdpie fetches all previous bookmarks (or as many allowed by [...]

3D Secure Transactions using SagePay Gateway and ActiveMerchant Plugin

Introduction

What is 3D secure?

3D Secure is a latest initiative for fraud prevention launched by Visa and MasterCard. 3D Secure adds additional password authentication step to complete the online transactions. A detailed introduction is available at http://www.sagepay.com/developers/industry_knowledge/3d_secure.asp.
This tutorial is a guide to set up a Ruby on Rails test environment for 3D Secure payment transactions using [...]

Textmate Gitbundle and Snow Leopard

Ever since installing Snow Leopard on my machine, I’ve had problems using some of the commands with the Git bundle on Textmate. One of the more annoying ones was with ‘Pull’, whereby it would spit out some error message along the lines of…

/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/ruby_tm_helpers.rb:70:in `basename’: can’t convert nil into String

plus a whole load of [...]

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 how [...]

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:

Firstly go into [...]

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 the bucket [...]

CSS3 Multi Columns

Wouldn’t it be nice to be able to use multi-column layouts in our sites, without resorting to using a silly amount of divs and javascript? Well, that’s what the Multi Column Module of the CSS3 spec aims to do. It has been in “Working Draft in the CSS Working Group for several years” and has [...]

Getting Started with SEO – Tips

Search Engine Optimisation (SEO) is a process that can be explained in two parts: relevance and quality. Relevance is determined by onsite factors such as content and image descriptions etc. and quality is determined by links.
Returning relevant results is the main goal of a search engines. This is why you must get your onsite SEO [...]

Full time Ruby on Rails Developer (Social Networking) £30,000 – £40,000

Our client is looking for an experienced Ruby on Rails developer with at least 2 years of commercial experience.

The job is working in beautiful surroundings full-time and on-site in Maidstone, Kent; within easy commuting distance of London. The successful applicant will be responsible for new feature development and maintenance of the current codebase, along with [...]