From: Paul Smith Date: 2007-01-11T13:01:03+09:00 Subject: statement outside of any method in a class Newbie question: In the following code: class Person < ActiveRecord::Base validates_presence_of :first_name end validates_presence_of is a method call that is specified outside of any method in class Person. Could someone explain what the invocation model is for that statement that is not bound to any method within a class (i.e. when is that statement executed?) Thanks. -- Posted via http://www.ruby-forum.com/.