dumb question about 'flash' helper

1 view
Skip to first unread message

pall

unread,
Sep 20, 2008, 3:50:18 AM9/20/08
to Ramaze
Apologies in advance if I'm being dumb ...

Is the flash helper included automatically? or do I need to do
something special?

Using the example from: http://ramaze.net/features:helpers#session-flash

flash always ends up being 'nil'.

FYI, this is with the ramaze (2008.06) gem

p.

Michael Fellinger

unread,
Sep 20, 2008, 5:52:13 AM9/20/08
to ram...@googlegroups.com
On Sat, Sep 20, 2008 at 4:50 PM, pall <paula...@mac.com> wrote:
>
> Apologies in advance if I'm being dumb ...
>
> Is the flash helper included automatically? or do I need to do
> something special?
>
> Using the example from: http://ramaze.net/features:helpers#session-flash
>
> flash always ends up being 'nil'.

Please make sure that you have cookies enabled in your browser.

pall

unread,
Sep 20, 2008, 6:31:04 AM9/20/08
to Ramaze
> Please make sure that you have cookies enabled in your browser.

Thanks for the quick response,

Cookies were enabled in the browser... after further investigation,
the actual problem was down to my app having the following set:

Ramaze::Global.sessions = false

It was me being dumb :)

BTW, thanks for ramaze, its a lovely framework.

p.
Reply all
Reply to author
Forward
0 new messages