Skip to content

Instantly share code, notes, and snippets.

this is fine

Ruben Homs RubenHoms

this is fine
Block or report user

Report or block RubenHoms

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am RubenHoms on github.
  • I am rubenhoms ( on keybase.
  • I have a public key whose fingerprint is 4D1C 017A 0FB5 8B90 F684 5A87 CA64 BAC8 1350 17FD

To claim this, I am signing this object:

RubenHoms / gist:7371300
Created Nov 8, 2013
Odd Meteor behaviour
View gist:7371300
// I'm trying to run a query on Mongo, which should simply be:
var res = Toggl.findOne({ date: new Date().getDateString() } );
// Although when I run that piece of code Meteor exits with the message: "Exited with code: 1"
// So I try other methods to run this statement, such as:
var getTasks = Meteor.bindEnvironment( function() {
return Toggl.findOne({ date: new Date().toDateString() } );
}, function( err ) {
console.log( err );
You can’t perform that action at this time.