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

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


Branch: pkgsrc-2009Q1, Version: 0.9.2, Package name: merb-has-flash-0.9.2, 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:
[misc/rubygems] [lang/ruby18-base]

Required to build:
[misc/rubygems] [devel/rake]

Master sites:

SHA1: 2f490fb002257e6e7eb8d163da88f1b9c65f69ca
RMD160: ae5c2fbc4723bcdbc8ee222a4e9bd86f18983725
Filesize: 7 KB

Version history: (Expand)