app/demo_data/fake_student.rb
#These are saving for some students only.
These are saving for some students only.
These are saving for some students only .
def add_event_notes
    generator = FakeEventNoteGenerator.new(@student)
    rand(0..9).times { EventNote.new(generator.next).save! }
    nil
  end
def add_event_notes generator = FakeEventNoteGenerator . new ( @student ) rand ( 0 .. 9 ) . times { EventNote . new ( generator . next ) . save! } nil end
These are saving for some students only.
These are saving for some students only .