Skip to content

Instantly share code, notes, and snippets.

@joegaudet
Created November 28, 2011 19:08
Show Gist options
  • Save joegaudet/1401565 to your computer and use it in GitHub Desktop.
Save joegaudet/1401565 to your computer and use it in GitHub Desktop.
(body \ "teacherInterest").extractOpt[String] match {
case Some(teacherInterest) => {
MatygoSchema.teacherApplications.insert(new TeacherApplicaiton(user.id, teacherInterest))
}
case None => {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment