[Rails] Re: what is kENSURE and kEND in error message?

2009-05-24 Thread Roderick van Domburg
SpringFlowers AutumnMoon wrote: how about the kENSURE ? and... why the k attached in front? thanks. K is for keyword; the keyword ensure. It seems like you have a ensure..end block without the appropriate begin. -- Roderick van Domburg http://www.nedforce.com -- Posted via

[Rails] Re: what is kENSURE and kEND in error message?

2009-05-24 Thread SpringFlowers AutumnMoon
Roderick van Domburg wrote: SpringFlowers AutumnMoon wrote: how about the kENSURE ? and... why the k attached in front? thanks. K is for keyword; the keyword ensure. It seems like you have a ensure..end block without the appropriate begin. ah, it actually happened with the %= # some

[Rails] Re: what is kENSURE and kEND in error message?

2009-05-24 Thread Colin Law
I think the problem is that seen with most languages, when you have a syntax error the message may appear to have little to do with the actual error as the parser has gone off down the wrong track but does not realise this until it is too late. Admittedly ruby does seem particularly poor at