./www/merb-has-flash, Rails-style flash for Merb

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2010Q4, Version: 1.0, Package name: ruby18-merb-has-flash-1.0, Maintainer: pkgsrc-users

Merb_has_flash is a plugin for the Merb framework that provides Rails-style
flash.

The ``flash'' provides a way to pass temporary objects between actions.
Anything you place in the flash will be exposed to the very next action
and then cleared out. This is a great way of doing notices and alerts,
such as a create action that sets

flash[:notice] = "Successfully created"

before redirecting to a display action that can then expose the flash
to its template.


Required to run:
[lang/ruby18-base] [www/merb-core]

Master sites:

SHA1: 14d3c247b893af4981bc9a296598efc2d7a17c4c
RMD160: b5c980ebb26536f09d4e1c31b6e9e08dccf85b22
Filesize: 7 KB

Version history: (Expand)