String Layout plugin

Plugin details

This plugin circumvents the need to store Layout<ActiveRecord::Base on disk, in addition to the database.

Websitehttp://li.mn/programming/ror/2006/09/17/529/stringlayout-010 Repositoryhttp://svn.wzph.com/rails/plugins/string_layout/ Author Zachary Holt Tags layout LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://svn.wzph.com/rails/plugins/string_layout/

Just one thing, really. It lets you specify a layout or a layout-like object (quack quack for you duck-typers out there) to be used as your controller's layout. So instead of passing a string naming a file on disk like so,

      OutOfController s evaluated, the result must respond to :layout or :to_s.

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 10 months ago