Re: Hum... What's wrong with me ?

2008-11-13 Thread Gregoire LEJEUNE
Hi campers, first, thanks a lot for your answers. I found the problem. This was due to markaby, installed from http://github.com/zimbatm/markaby/tree/master. I have replaced this module with last official version from rubygems then it works. Thanks again. Greg 2008/11/12 Bluebie, Jenna <[EMA

Re: Hum... What's wrong with me ?

2008-11-13 Thread Eric Mill
Oh, geez, I glanced at an app where I overwrote render to work with Haml instead of Markaby. Sorry for the confusion. On Nov 13, 2008 7:39 AM, "julik" <[EMAIL PROTECTED]> wrote: On Nov 12, 2008, at 6:29 PM, Eric Mill wrote: > def get > render :index, :hello => "Hello World!"... since when?

Re: Hum... What's wrong with me ?

2008-11-13 Thread julik
On Nov 12, 2008, at 6:29 PM, Eric Mill wrote: def get render :index, :hello => "Hello World!" end in your view. Unlike Rails, instance variables aren't magically carried along from Controller to View. since when? ___ Camping-list mailing list Ca

Re: Hum... What's wrong with me ?

2008-11-12 Thread Bluebie, Jenna
Maybe _why's version is broken. Gregoire, could you try using Magnus (judofyr)'s version instead? On 13/11/2008, at 4:42 AM, Eric Mill wrote: Heyme too. I've been using the style I recommended before in my code thus far, but maybe I didn't need to. Is it something that differs between Ca

Re: Hum... What's wrong with me ?

2008-11-12 Thread Eric Mill
Heyme too. I've been using the style I recommended before in my code thus far, but maybe I didn't need to. Is it something that differs between Camping versions? On Wed, Nov 12, 2008 at 12:37 PM, Magnus Holm <[EMAIL PROTECTED]> wrote: > Huh? I just pasted that code, ran "camping test.rb" and

Re: Hum... What's wrong with me ?

2008-11-12 Thread Magnus Holm
Huh? I just pasted that code, ran "camping test.rb" and it worked just like expected: "Camping say Hello World!"... -- Magnus Holm On Wed, Nov 12, 2008 at 6:29 PM, Eric Mill <[EMAIL PROTECTED]> wrote: > You want > > def get > render :index, :hello => "Hello World!" > end > > in your view. Unl

Re: Hum... What's wrong with me ?

2008-11-12 Thread Eric Mill
You want def get render :index, :hello => "Hello World!" end in your view. Unlike Rails, instance variables aren't magically carried along from Controller to View. -- Eric On Wed, Nov 12, 2008 at 12:03 PM, Gregoire LEJEUNE <[EMAIL PROTECTED]> wrote: > Hi Campers, > > i just download and ins