This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
sd (author)
Mon Sep 24 11:30:24 -0700 2007
commit 9cc2422f239bb5de88f0bf6cb63854ace65f537f
tree cae48f7a42e7d2856024b498e54998eaa4f7a73e
parent 36e8061925e1b950461f49e61e8b1e05d2a3b8be
tree cae48f7a42e7d2856024b498e54998eaa4f7a73e
parent 36e8061925e1b950461f49e61e8b1e05d2a3b8be
| name | age | message | |
|---|---|---|---|
| |
README | Fri Jul 27 07:36:02 -0700 2007 | [sd] |
| |
init.rb | Wed Aug 01 13:51:59 -0700 2007 | [sd] |
| |
lib/ | Mon Sep 24 11:30:24 -0700 2007 | [sd] |
| |
test/ | Wed Aug 01 13:51:59 -0700 2007 | [sd] |
README
The "embedded actions" plugin ============================= Just like the traditional render :partial, embedded actions allow you to refactor your views and extract presentation logic and templates into separate files. Unlike partials, embedded actions also let you define business logic to be performed before the partial is included. That logic is encapsulated in the already well understood metaphor of an action inside a controller. So a simple call like <%= embed_action :controller => "songs", :action => "top10" %> lets you include an html fragment containing the top 10 songs into any of your pages, regardless of which controller, action or view wants to do the including. Additionally, embedded actions can provide caching of their results (allowing for different parameters) just like page caching, but at the level of html fragments. So your dynamic pages can still be rendered dynamically, but some of the embedded actions can be cached (and expired) independently. ------------------------------------------------------------------------------- Copyright (c) 2007 Sebastian Delmont <sd@notso.net> Copyright (c) 2007 StreetEasy / NMD Interactive <http://www.streeteasy.com/> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Sebastian Delmont, nor StreetEasy nor NMD Interactive nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ------------------------------------------------------------------------------- CONTRIBUTORS - Jerret Taylor <jerrett@gmail.com> RELEASE HISTORY




