Pretty new to Meteor and I've been running into errors updating my mongoDB meteor collections ever since removing autopublish. Maybe I'm missing something very crucial about publishing now, but just typing into the console:
NVC.Users.insert({name:'bob'})
--> "MTi5ePEyHyKXZFWjL"
NVC.Users.find().fetch()
--> []
throws me off since before removing autopublish I could have sworn that this worked. Could somebody please explain what I'm missing, as I've also tried:
// Client
if Meteor.isClient
Deps.autorun ->
Meteor.subscribe 'rooms'
// Server
if Meteor.isServer
Meteor.startup ->
Meteor.publish 'rooms' , ->
return Rooms.find()