Commit graph

6 commits

Author SHA1 Message Date
minskim
4aacd2f915 Fix check-interpreter errors and warnings. 2006-06-07 21:28:39 +00:00
taca
dccd827fac Stop handling DIST_SUBDIR default for Ruby based packages.
Second, update distinfo and/or stop using USE_RUBY_DIST_SUBDIR in Makefiles.
2006-01-03 14:25:49 +00:00
joerg
51f7c31aec Fix patch (the original file has no newline at the end, breaking the
BSD patch).
2005-12-30 13:13:40 +00:00
taca
0d227a9c7b Update www/ruby18-actionpack package to 1.10.1.
Changes from 1.9.1 are many, please see ${RUBY_DOCDIR}/actionpack/CHANGELOG.

pkgsrc change is installing example files, too.
2005-11-02 14:48:39 +00:00
taca
2361223994 Update ruby-actionpack package to 1.9.1
Changes from 1.7.0 are too huge, please see web page:
http://ap.rubyonrails.com/files/CHANGELOG.html.
2005-09-04 14:05:44 +00:00
minskim
3583d2c2be Import ruby-actionpack.
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.
2005-04-10 04:11:28 +00:00