Many Skinny Methods Posted by koz Thursday, October 04, 2007 08:12:00 GMT This refactoring is based on a topic Marcel and I covered at RailsConf Europe. Before class Expense < ActiveRecord::Base belongs_to :payee protected # Nice and concise, but what happens as we add more rules # and how do we write test cases for the four different possible # validation states? def validate errors.add("Not eno