Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Templated Attribute

Templated Attribute


Location: United States, Venice, CA


== Installation

If you’re using piston, change to your vendor/plugins directory and do:

piston import http://svn.shiftcommathree.com/rails_plugins/templated_attribute

Otherwise, use the Rails plugin installer:

ruby script/plugin install http://svn.shiftcommathree.com/rails_plugins/templated_attribute

This will also generate public/javascripts/templated_attribute.js and public/stylesheets/templated_attribute.css. It’s up to you to include these in your layouts. One good way to go is the new asset caching option added in <http: />:

javascript_include_tag :all, :cache => true
stylesheet_link_tag :all, :cache => true


Homepage: http://www.shiftcommathree.com/articles/templated-attributes