Category: Rails
Quick and easy static pages in Rails
February 10th, 2010, 16 Comments
Sometimes you have a Rails app, the core functionality is not a CMS, and you need to add some static pages to your app that don’t get changed often, eg, an about us page, privacy policy, etc.
This post shows you a quick and easy way to do that in about 60 seconds, without using a [...]
Rails 3 Beta is out – check out Rails Upgrade plugin
February 7th, 2010, Comments Off
In case you haven’t heard, Rails 3 is now in Beta.
Just a quick post to say, if you haven’t already, check out the Rails upgrade plugin, this will quickly show you what bits of your code need to be updated to work with Rails 3.
Also, check out the full release notes, lots of juicy stuff [...]
Installing AutoTest
August 6th, 2009, Comments Off
I think autotest is one of the best things about developing in Rails. If you don’t know, autotest runs in the background watching all of your application files. When you edit any of them, it automatically runs the sections of your test suite that apply to the modified file, and can then give you feedback [...]
Google Analytics and Rails in 60 Seconds
July 8th, 2009, 3 Comments
This quick post will show you how to install Google Analytics into your Rails powered website in less than 60 seconds.
Before I start, I need to ask you…
In real terms, what is each visitor to your website worth? Do you know? Would you like to find out how you can find out?
What is [...]
Rails: Black Box Testing Complex Models
July 4th, 2009, 8 Comments
In this article I will show you how you can perform complete end-to-end testing of very complex models using a method called Black Box Testing. I will demonstrate a solution that scales to hundreds of tests and upwards, without having to write any additional code or fixtures for each one.
The method I am going to [...]