try {
newComment = Comment.newRecord();
newComment.setData("commenter", p("commenter"));
newComment.setData("body", p("body"));
newComment.setData("post_id", p("post_id"));
newComment.save();
flash("notice", "Comment was successfully created.");
return redirectTo(R.resourceRecordPath("posts", post));
}
catch(Exception ex) {