./www/ruby-actionpack, Two-step approach to web response generation

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2009Q2, Version: 2.3.2nb1, Package name: ruby18-actionpack-2.3.2nb1, Maintainer: minskim

Action Pack splits the response to a web request into a controller
part (performing the logic) and a view part (rendering a template).
This two-step approach is known as an action, which will normally
create, read, update, or delete (CRUD for short) some sort of model
part (often backed by a database) before choosing either to render a
template or redirecting to another action.

Action Pack implements these actions as public methods on Action
Controllers and uses Action Views to implement the template rendering.
Action Controllers are then responsible for handling all the actions
relating to a certain part of an application. This grouping usually
consists of actions for lists and for CRUDs revolving around a single
(or a few) model objects. So ContactController would be responsible
for listing contacts, creating, deleting, and updating contacts. A
WeblogController could be responsible for both posts and comments.

Action View templates are written using embedded Ruby in tags mingled
in with the HTML. To avoid cluttering the templates with code, a
bunch of helper classes provide common behavior for forms, dates, and
strings. And it's easy to add specific helpers to keep the separation
as the application evolves.


Required to run:
[devel/ruby-activesupport] [lang/ruby18-base] [misc/rubygems]

Required to build:
[devel/rake] [misc/rubygems]

Master sites:

SHA1: 31e9815ed5d901b6b7f618bb7140f16d1a79ebfc
RMD160: 800602f5c03b08ca8ca292cc7f82ef009c0e2160
Filesize: 749.5 KB

Version history: (Expand)


CVS history: (Expand)


   2009-07-16 23:13:54 by Matthias Scheler | Files touched by this commit (3)
Log message:
Pullup ticket #2814 - requested by minskim
ruby-actionpack: security patch

Revisions pulled up:
- www/ruby-actionpack/Makefile			1.16
- www/ruby-actionpack/distinfo			1.17
- www/ruby-actionpack/patches/patch-aa		1.3
---
Module Name:	pkgsrc
Committed By:	minskim
Date:		Thu Jul 16 11:00:25 UTC 2009

Modified Files:
	pkgsrc/www/ruby-actionpack: Makefile distinfo
Added Files:
	pkgsrc/www/ruby-actionpack/patches: patch-aa

Log message:
Security fix for:
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2422

From rails git commit 056ddbdcfb07f0b5c7e6ed8a35f6c3b55b4ab489.