./databases/ruby-activerecord, Object-relation mapping put on rails

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


Branch: pkgsrc-2008Q2, Version: 2.1.0, Package name: ruby18-activerecord-2.1.0, Maintainer: minskim

Active Record connects business objects and database tables to create
a persistable domain model where logic and data is presented in one
wrapping. It is an implementation of the object-relational mapping
(ORM) pattern by the same name as described by Martin Fowler:

"An object that wraps a row in a database table or view, encapsulates
the database access, and adds domain logic on that data."

Active Records main contribution to the pattern is to relieve the
original of two stunting problems: lack of associations and
inheritance. By adding a simple domain language-like set of macros to
describe the former and integrating the Single Table Inheritance
pattern for the latter, Active Record narrows the gap of functionality
between the data mapper and active record approach.


Master sites:

SHA1: 561c85de72c90aad0986a6cd415b15e62d1b6cf8
RMD160: 1d3b9b2a3aaa4b28d32ca66f382bec90fc7c85c6
Filesize: 441.5 KB

Version history: (Expand)