- Test Time Bombs - An example how to avoid time bombs in your test.
- New ActiveRecord scoping syntax - A detailed look at solving a compatibility issue in ActiveRecord between Rails 2.3 and Rails 3.
- World Cup Simulation - A little exercise in Ruby to simulate the World Cup. Nice idea for testing your Ruby Fu!
About Me
My name is Matthew Lang, and I'm a software developer based just outside Glasgow in the UK.
I'm very interested in using agile methodologies such as XP to deliver projects with languages such as Ruby and open source frameworks such as Ruby on Rails and Sinatra.
Search
My Places
Tags
Snippets #119
Posted on 6th of July, 2010
Snippets #111
Wrapped up my freelancing work for a while. Time to focus on personal projects now!
- RubyInstaller Final Packages - Three flavours of installer if your working with Ruby on Windows. Now you can install versions for 1.8.6, 1.8.7 and 1.9.1. Nice!
- Autosave Associations and validates_uniquesness_of: Don't Do That - Rails has so many great features, but it can be easy to mis-understand something.
- I Suck at Ruby - A fantastic little blog from a beginner Rubyist. It has only been going since May, but I've already found it to be a great guide to Ruby.
Posted on 8th of June, 2010
Snippets #91
Back on track with my decision management Rails application this week. Looking to include authentication using Devise this week.
- String conversions using ActiveSupport - It's little tricks like this that I usually forget.
- More ActiveRecord Notes - Charles Max Wood has more notes on ActiveRecord. Locking database records is new to me!
- Warehouse 2.0 - Originally a Subversion repository browser, Warehouse has been rewritten for Git repositories. Nice!
Posted on 30th of March, 2010
Snippet #88
- Notes from Reading ActiveRecord::Base - A couple of gems in here I didn't know about.
- Rails and Merb Merge: Rack - So is it now Ruby on Rails on Rack? Good write up of how Rack is used in Rails 3.
- Base Debian Install on VirtualBox - Start of a new series in setting up CouchDB. I might go down this road for trying out CouchDB as well.
Posted on 18th of March, 2010
Snippets #73
My design skills suck. Maybe something to try and improve on for this year.
- Active Record Query Interface 3.0 - The skinny on all the new features for ActiveRecord.
- UTC vs Ruby, ActiveRecord, Sinatra, Heroku and Postgres - Great article for using UTC in your web applications.
- Just In Time, Not Just In Case - A great habit to pick up in your programming.
- Showoff - Never thought Sinatra could be used for presentations!
- The Path to Rails 3 : Approaching the upgrade - The series on Rails 3 continues. A must read.
Posted on 26th of January, 2010