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/myabc/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 Mon Mar 24 20:52:05 -0700 2008 Prep 0.9.2 [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/ Mon Mar 24 19:55:00 -0700 2008 have select_control use database value as the d... [brijohn]
directory spec/ Thu Mar 13 02:34:44 -0700 2008 Time_ago_in_words and spec for her [vanpelt]
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