Path to this page:
./
www/merb-has-flash,
Rails-style flash for Merb
Branch: pkgsrc-2011Q3,
Version: 1.0,
Package name: ruby19-merb-has-flash-1.0,
Maintainer: pkgsrc-usersMerb_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.
Master sites:
SHA1: 14d3c247b893af4981bc9a296598efc2d7a17c4c
RMD160: b5c980ebb26536f09d4e1c31b6e9e08dccf85b22
Filesize: 7 KB
Version history: (Expand)
- (2011-10-04) Package added to pkgsrc.se, version ruby19-merb-has-flash-1.0 (created)