object @user

attributes :remaining_test_drives, :can_buy_test_drive?, :jamclass_credits

node :booked_with_teacher do |user|
  @teacher.has_booked_test_drive_with_student?(user, Date.today - 365)
end

