Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2019 21:57:09 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510431 - head/databases/rubygem-activerecord50
Message-ID:  <201908312157.x7VLv9OI005667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Aug 31 21:57:09 2019
New Revision: 510431
URL: https://svnweb.freebsd.org/changeset/ports/510431

Log:
  Update pkg-descr

Modified:
  head/databases/rubygem-activerecord50/pkg-descr

Modified: head/databases/rubygem-activerecord50/pkg-descr
==============================================================================
--- head/databases/rubygem-activerecord50/pkg-descr	Sat Aug 31 21:57:04 2019	(r510430)
+++ head/databases/rubygem-activerecord50/pkg-descr	Sat Aug 31 21:57:09 2019	(r510431)
@@ -1,8 +1,14 @@
-Action Record
+Active Record connects classes to relational database tables to establish an
+almost zero-configuration persistence layer for applications. The library
+provides a base class that, when subclassed, sets up a mapping between the new
+class and an existing table in the database. In the context of an application,
+these classes are commonly referred to as models. Models can also be connected
+to other models; this is done by defining associations.
 
-In Rails, the model is handled by what's called a object-relational
-mapping layer entitled Active Record. This layer allows you to present
-the data from database rows as objects and embellish these data objects
-with business logic methods.
+Active Record relies heavily on naming in that it uses class and association
+names to establish mappings between respective database tables and foreign key
+columns. Although these mappings can be defined explicitly, it's recommended to
+follow naming conventions, especially when getting started with the library.
 
 WWW: https://rubyonrails.org/
+WWW: https://github.com/rails/rails/tree/master/activerecord



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908312157.x7VLv9OI005667>