public
Fork of wycats/merb-plugins
Description: Merb Plugins: Even more modules to hook up your Merb installation
Homepage: http://www.merbivore.com
Clone URL: git://github.com/halorgium/merb-plugins.git
merb-plugins / merb_helpers
name age message
..
file LICENSE Tue Oct 02 18:12:58 -0700 2007 First checkin of merb_helpers (not safe for use) [wycats@gmail.com]
file README Thu Jan 03 11:37:46 -0800 2008 Checks in fixes to merb_helpers so the tests pass [wycats@gmail.com]
file Rakefile Fri Feb 29 20:20:48 -0800 2008 prep for 0.9.1 release [ivey]
file TODO Tue Oct 02 18:12:58 -0700 2007 First checkin of merb_helpers (not safe for use) [wycats@gmail.com]
directory lib/ Thu Feb 28 21:36:20 -0800 2008 Escape characters in form control values [Sergei Zimakov]
directory spec/ Thu Feb 28 21:36:20 -0800 2008 Escape characters in form control values [Sergei Zimakov]
README
merb_helpers
=================

A plugin for the Merb Web framework that provides different view helpers.

To use this plugin in merb in your app

config/dependencies.rb

#...

dependency "merb_helpers"

#...

By default all modules of merb_helpers are loaded and are available to your merb app.

You can selectively include/exclude modules from this list to keep you app lean if you like. 
The inclusions/exclusions are relative to all modules.  

\:include: will only include the specified modules.

\:exclude: will include all except the specified modules.

Do not use :include: and :exclude: options at the same time or an error will be raised.

To set this up in config/plugins.yml

To Include specified helpers

  \:merb_helpers:
    \:include: - date_time_helpers
              - form_helpers

To Exclude specified helpers

  \:merb_helpers:
    \:exclude: - date_time_helpers
              - form_helpers