I guess that the problem is with res.redirect, as it redirects your
browser, instead of directly rendering your jade template, your locals
object is not passed to the jade rendering when finally /profile is handled
you could call
res.render('profile.jade',{locals :{email:"profile.email"}});
(o
I've read about a similar problem here [1], they basically write from node
to Redis, and use Redis' pub/sub to broadcast the changes to django.
[1]: http://lincolnloop.com/blog/2012/apr/23/ginger-tech-stack/
2012. április 25., szerda 15:15:35 UTC+2 időpontban Cassio Melo a
következőt írta:
>
>
27;m interested
in to-be-welded-together proposals too.
thanks
2012. március 20., kedd 12:12:57 UTC+1 időpontban Bika a következőt írta:
>
> hi,
>
> I'm trying to use backbone for "everything" on the server side too, and
> got stuck with doing a proper validatio
om/alexeypetrushin/rad_core/blob/master/assets/rad/models.coffee
>
> https://github.com/alexeypetrushin/rad_core/blob/master/assets/rad_spec/model_spec.coffee
>
>
> On Tuesday, March 20, 2012 3:12:57 PM UTC+4, Bika wrote:
>>
>> hi,
>>
>> I'm trying to use
You might try with absolute paths:
template: __dirname + "/templates/sample.txt"
2012. március 17., szombat 10:04:10 UTC+1 időpontban Angelo Chen a
következőt írta:
>
> Hi,
>
> I'm trying to use node_mailer(https://github.com/Marak/node_mailer),
> the sample works, when following code is insid
hi,
we use a quite similar setup with mongodb and backbone, and we try to
share as much code b/w the browser and the server as possible.
As a result we have released two node packages:
https://github.com/ToolPartTeam/backbone-mongodb
https://github.com/nagyv/backbone-validation
The first one hand
Hi Chris,
thanks for your great patch and support, but it still does not work.
I'm sure that I miss something in using asyncblock properly, but can't
figure out what. I've updated the backbone-mongodb connector[1] with
my most recent test and I would be extremely thankful if you would
give a look
you might like this one: https://github.com/nodejitsu/require-analyzer
On febr. 27, 04:30, dhruvbird wrote:
> On Feb 26, 11:19 am, Isaac Schlueter wrote:
>
> > -S|--save is only respected by `npm install`, not by any other
> > command, and it's not retro-active. (Ie, it only works when you
> >
Finally I choose vows + tobi + should.js for testing.
I've put together a short post about how I made my choice:
http://dev.estisia.com/2012/02/unit-testing-node-js-applications/
On febr. 17, 09:29, Bika wrote:
> ok, thanks to your links, I've managed to start writing my tests wit
ok, thanks to your links, I've managed to start writing my tests with
Mocha and have nice errors all around my code :)
but a new problem arised: how to wait for the database connection
before my tests start running?
I'm using backbone-mongodb[1] that's built on top of the native mongo
driver
I w
10 matches
Mail list logo