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/.