Yes, it is one of the key magics of ActiveRecord.