Rendered column plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://www.mattmccray.com/svn/rails/plugins/rendered_column/
class Blog < ActiveRecord::Base rendered_column :body, :use_erb=>true rendered_column :summary, :format=>'markdown' end
By default, this will try to save the resulting HTML in the AR fields 'rendered_body' and 'rendered_summary'. You can override that by setting :prefix and :postfix. Defaults are:
:prefix=>'rendered_' :postfix=>'', :format=>'textile' :use_erb=>false
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: scott, 9 months ago

