From: Collin Miller Date: 2007-08-11T03:24:59+09:00 Subject: Re: Unwanted behavior with "define" method an Test::Unit line 7: define_method("create_#{model_name}") { |attrs| Line 7 seems to be the problem line. I think I want to do this: define_method("create_#{model_name}") { |attrs={}| But I cannot. I can still use the defined method and not send it an argument, but then Ruby complains.