From: Sarah Allen Date: 2009-03-02T19:34:06+09:00 Subject: Re: passing a method as a paramter Hi Leo, This gave me the same error: assert_required_fields User.method(:create), :email, :lastname, :password I got a different error with this: assert_required_fields {|*args| User.create(*args)}, :email, :lastname, :password test/unit/user_test.rb:15: syntax error, unexpected ',', expecting kEND assert_required_fields {|*args| User.create(*args)}, :email, :lastname, :password Am I missing something? Thanks, Sarah -- Posted via http://www.ruby-forum.com/.