From owner-svn-ports-all@freebsd.org Sat Aug 31 21:57:05 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 632D6DD75B; Sat, 31 Aug 2019 21:57:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46LVYs23HCz3xTr; Sat, 31 Aug 2019 21:57:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B2051F4D7; Sat, 31 Aug 2019 21:57:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7VLv5HX005564; Sat, 31 Aug 2019 21:57:05 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7VLv5aI005563; Sat, 31 Aug 2019 21:57:05 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201908312157.x7VLv5aI005563@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 31 Aug 2019 21:57:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r510430 - head/databases/rubygem-activerecord5 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/databases/rubygem-activerecord5 X-SVN-Commit-Revision: 510430 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2019 21:57:05 -0000 Author: sunpoet Date: Sat Aug 31 21:57:04 2019 New Revision: 510430 URL: https://svnweb.freebsd.org/changeset/ports/510430 Log: Update pkg-descr Modified: head/databases/rubygem-activerecord5/pkg-descr Modified: head/databases/rubygem-activerecord5/pkg-descr ============================================================================== --- head/databases/rubygem-activerecord5/pkg-descr Sat Aug 31 21:56:59 2019 (r510429) +++ head/databases/rubygem-activerecord5/pkg-descr Sat Aug 31 21:57:04 2019 (r510430) @@ -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