Monthly Archives: April 2010

ActiveRecord MS SQL adapter error fixed

It looks like the SQL Server adapter error I mentioned previously has been fixed. The fix was posted yesterday (21-Apr-10).

Posted in Ruby | Comments Off on ActiveRecord MS SQL adapter error fixed

Test driven development is essential

After almost a year of using test driven development, I am now a total convert. I now feel it is so vital to good development practice that, across the board, I think I can label my previous applications as bad … Continue reading

Posted in Ruby | Comments Off on Test driven development is essential

Self referencing objects

My application has products, and each product can have components which are themselves products. I achieve this via a pair of self-referencing has_and_belongs_to_many relationships.   has_and_belongs_to_many :components,     :class_name => ‘Product’,     :join_table => "product_grouping",     :association_foreign_key … Continue reading

Posted in Ruby | Comments Off on Self referencing objects