Module: Ramaze::Helper

### Home Classes Methods

### In Files

- lib/ramaze/helper/auth.rb
- lib/ramaze/helper/bench.rb
- lib/ramaze/helper/blue_form.rb
- lib/ramaze/helper/cache.rb
- lib/ramaze/helper/csrf.rb
- lib/ramaze/helper/email.rb
- lib/ramaze/helper/erector.rb
- lib/ramaze/helper/flash.rb
- lib/ramaze/helper/formatting.rb
- lib/ramaze/helper/gestalt.rb
- lib/ramaze/helper/gravatar.rb
- lib/ramaze/helper/identity.rb
- lib/ramaze/helper/layout.rb
- lib/ramaze/helper/link.rb
- lib/ramaze/helper/localize.rb
- lib/ramaze/helper/markaby.rb
- lib/ramaze/helper/maruku.rb
- lib/ramaze/helper/paginate.rb
- lib/ramaze/helper/remarkably.rb
- lib/ramaze/helper/request_accessor.rb
- lib/ramaze/helper/send_file.rb
- lib/ramaze/helper/simple_captcha.rb
- lib/ramaze/helper/stack.rb
- lib/ramaze/helper/tagz.rb
- lib/ramaze/helper/thread.rb
- lib/ramaze/helper/upload.rb
- lib/ramaze/helper/user.rb
- lib/ramaze/helper/xhtml.rb

### Namespace

- MODULE Ramaze::Helper::Auth
- MODULE Ramaze::Helper::Bench
- MODULE Ramaze::Helper::BlueForm
- MODULE Ramaze::Helper::CSRF
- MODULE Ramaze::Helper::Cache
- MODULE Ramaze::Helper::Email
- MODULE Ramaze::Helper::Erector
- MODULE Ramaze::Helper::Flash
- MODULE Ramaze::Helper::Formatting
- MODULE Ramaze::Helper::Gestalt
- MODULE Ramaze::Helper::Gravatar
- MODULE Ramaze::Helper::Identity
- MODULE Ramaze::Helper::Layout
- MODULE Ramaze::Helper::Link
- MODULE Ramaze::Helper::Localize
- MODULE Ramaze::Helper::Markaby
- MODULE Ramaze::Helper::Maruku
- MODULE Ramaze::Helper::Paginate
- MODULE Ramaze::Helper::Remarkably
- MODULE Ramaze::Helper::RequestAccessor
- MODULE Ramaze::Helper::SendFile
- MODULE Ramaze::Helper::SimpleCaptcha
- MODULE Ramaze::Helper::Stack
- MODULE Ramaze::Helper::Thread
- MODULE Ramaze::Helper::Upload
- MODULE Ramaze::Helper::UserHelper
- MODULE Ramaze::Helper::XHTML

### Files

- Gemfile
- Rakefile

### Class/Module Index

Quicksearch

- Ramaze
- Ramaze::App
- Ramaze::Bin
- Ramaze::Bin::Create
- Ramaze::Bin::Runner
- Ramaze::Cache
- Ramaze::Cache::LRU
- Ramaze::Cache::LocalMemCache
- Ramaze::Cache::MemCache
- Ramaze::Cache::Redis
- Ramaze::Cache::Sequel
- Ramaze::Controller
- Ramaze::CoreExtensions
- Ramaze::CoreExtensions::Object
- Ramaze::CoreExtensions::String
- Ramaze::Current
- Ramaze::DefaultController
- Ramaze::Files
- Ramaze::Gestalt
- Ramaze::Helper
- Ramaze::Helper::Auth
- Ramaze::Helper::Bench
- Ramaze::Helper::BlueForm
- Ramaze::Helper::BlueForm::Form
- Ramaze::Helper::CSRF
- Ramaze::Helper::Cache
- Ramaze::Helper::Cache::SingletonMethods
- Ramaze::Helper::Email
- Ramaze::Helper::Erector
- Ramaze::Helper::Flash
- Ramaze::Helper::Formatting
- Ramaze::Helper::Gestalt
- Ramaze::Helper::Gravatar
- Ramaze::Helper::Identity
- Ramaze::Helper::Layout
- Ramaze::Helper::Layout::SingletonMethods
- Ramaze::Helper::Link
- Ramaze::Helper::Localize
- Ramaze::Helper::Localize::Dictionary
- Ramaze::Helper::Localize::Parser
- Ramaze::Helper::Markaby
- Ramaze::Helper::Maruku
- Ramaze::Helper::Paginate
- Ramaze::Helper::Paginate::Paginator
- Ramaze::Helper::Paginate::Paginator::ArrayPager
- Ramaze::Helper::Paginate::Paginator::DataMapperPager
- Ramaze::Helper::Remarkably
- Ramaze::Helper::RequestAccessor
- Ramaze::Helper::SendFile
- Ramaze::Helper::SimpleCaptcha
- Ramaze::Helper::Stack
- Ramaze::Helper::Thread
- Ramaze::Helper::Upload
- Ramaze::Helper::Upload::ClassMethods
- Ramaze::Helper::Upload::UploadedFile
- Ramaze::Helper::UserHelper
- Ramaze::Helper::UserHelper::Wrapper
- Ramaze::Helper::XHTML
- Ramaze::LRUHash
- Ramaze::Logger
- Ramaze::Logger::Informer
- Ramaze::Logger::LogHub
- Ramaze::Logger::Logger
- Ramaze::Logger::RotatingInformer
- Ramaze::Logger::Syslog
- Ramaze::Logging
- Ramaze::Reloader
- Ramaze::Reloader::Hooks
- Ramaze::Reloader::WatchInotify
- Ramaze::Reloader::WatchStat
- Ramaze::Request
- Ramaze::Response
- Ramaze::SpecLogger
- Ramaze::View
- Ramaze::View::Erector
- Ramaze::View::Erubis
- Ramaze::View::Ezamar
- Ramaze::View::Gestalt
- Ramaze::View::Haml
- Ramaze::View::Liquid
- Ramaze::View::Liquid::Tag
- Ramaze::View::Lokar
- Ramaze::View::Mustache
- Ramaze::View::Mustache::RamazeContext
- Ramaze::View::Nagoro
- Ramaze::View::Remarkably
- Ramaze::View::Sass
- Ramaze::View::Slippers
- Ramaze::View::Tagz
- Ramaze::View::Tagz::Methods
- Ramaze::View::Tenjin
- Innate
- Innate::View
- Innate::View::Slim
- Nagoro
- Nagoro::Pipe
- Nagoro::Pipe::RenderPartial
- Bacon
- Bacon::PrettyOutput
- Erector
- Erector::Widget
- Rack
- Rack::RouteExceptions
- Tenjin
- Tenjin::Template
- BlankSlate
- Controller
- MainController
- Object

No matching classes.

# Ramaze::Helper

The purpose of this class is to provide an easy way of setting/retrieving from the current flash.

Flash is a way to keep a temporary pairs of keys and values for the duration of two requests, the current and following.

Time for an example. On the first request, for example on registering:

    flash[:error] = "You should reconsider your username, it's taken already"
    redirect r(:register)

This is the request from the redirect:

    do_stuff if flash[:error]

On the request after this, flash is gone.

This is called Identity to avoid collisions with the original openid.rb It provides a nice and simple way to provide and control access over the OpenID authentication model.

### Constants

Tagz

  Allows you to use some shortcuts for Tagz in your Controller. use this inside your controller to directly build Tagz Refer to the Tagz-documentation and testsuite for more examples.

  Usage:

      tagz { h1_{ "Apples & Oranges" } }  #=> "<h1>Apples &amp; Oranges</h1>"
      tagz { h1_(:class => 'fruits&floots'){ 'Apples' } }

[Validate]

Generated with the Darkfish Rdoc Generator 2.