.build for has_one

I am having problems understanding this concept.

I am guessing that, for has_one/belongs_to one should use something different from .build.

for example, if I have the following class Student < ActiveRecord::Base   has_many :notes end

class Note < ActiveRecord::Base   belongs_to :students end

Then

def new     @student = Student.new     @student.notes.build   end

Hi

   You have to read

especially sections 4.1.1.3 , 4.2.1.3 and 4.3.1.12

Sijo