Category: Articles

Testing exceptions in Rails

If you want to make sure an exception is thrown in a Rails test just use the assert_raise assertion. For example, I am testing to make sure the SQL statement is invalid after it goes through my model’s validation def test_exception c = Content.new # Title is missing assert_raise ActiveRecord::StatementInvalid do c.save end end This …

Read more

Starting a software company

Well as of last month I decided to finally create a software company and see what I can turn it into. Starting out I will be focusing on consulting but will eventually try to turn it into a product based company. I will try to post about my progress on the blog here, mostly to …

Read more

Project List

I also maintain my portfolio of client work over at Little Stream Software Maintainer of gs_phone – A program to control sets of Grandstream Voip phones. (Articles) Contributed to FreeGeek Database – Database frontend to manage some operations at FreeGeek. (Articles) eXPlainPMT – A Extreme Programming project management tool (Articles)

Read more

Brochure web site

Brochure web site For many small businesses a simple website, called a “brochure web site”, can be a great investment at a low cost. A brochure web site is very similar to the printed brochures that many companies create, however the web site is placed online so anyone with Internet access can view it. Typically …

Read more

5 ways to improve the usability of your website

It is easy to get a web site online now, but businesses have to compete even harder for the attention of visitors. One of the best ways to gain an competitive advantage is to improve your web site’s usability. Here are a few easy ways: 1. Use a standard layout One of the best ways …

Read more