Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Adds flash support to ActionController::Base#render just like redirect_to
tree: 71786e215e
Failed to load latest commit information.
lib bumping to 1.2.0
test initial commit
.gitignore bumping to 1.2.0
Gemfile no longer making render protected
README.textile giving proper credit
Rakefile initial commit
flash_render.gemspec giving proper credit



Allows you to use render :new, :alert => 'You messed up' just like you can use redirect_to thang, :notice => 'You made thang successfully'.

Works with :notice, :alert and :flash => {:message => 'Sup foo'} just like redirect_to. With rendering it sets instead of flash.

Inspired after googling for this feature, it was written entirely by the mysterious P.B.F. and packaged into a gem by me. See:

Something went wrong with that request. Please try again.