Skip to content

Instantly share code, notes, and snippets.

View lukemurray's full-sized avatar

Luke Murray lukemurray

View GitHub Profile
@lukemurray
lukemurray / gist:917423
Created April 13, 2011 12:06
simple saving
user.save(function(err) {
if (err)
return saveFailed();
req.flash('info', 'Your account has been created');
req.session.user_id = user.id;
res.redirect('/');
});
I even get message in mongod
[package]
name = "rusttest"
version = "0.1.0"
authors = [ "lukem" ]
[[lib]]
crate-types = [ "dylib" ]
pub trait Queryable { }

Keybase proof

I hereby claim:

  • I am lukemurray on github.
  • I am lukemurray (https://keybase.io/lukemurray) on keybase.
  • I have a public key ASBuEGK7Oq7ZxUoCMkVDdKx3HUPbwGQeb7i5e0u2oEWUHgo

To claim this, I am signing this object: