aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2019-09-01 05:57:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2019-09-01 05:57:14 +0800
commit80aa80b910e67d522a6cff904840f5e1c5410c72 (patch)
tree6b49343710658fb7facc4cdfb1d808877261bae4 /databases
parent93b159142c11044dea008f36bfe50f8c61d0611a (diff)
downloadfreebsd-ports-gnome-80aa80b910e67d522a6cff904840f5e1c5410c72.tar.gz
freebsd-ports-gnome-80aa80b910e67d522a6cff904840f5e1c5410c72.tar.zst
freebsd-ports-gnome-80aa80b910e67d522a6cff904840f5e1c5410c72.zip
Update pkg-descr
Diffstat (limited to 'databases')
-rw-r--r--databases/rubygem-activerecord52/pkg-descr16
1 files changed, 11 insertions, 5 deletions
diff --git a/databases/rubygem-activerecord52/pkg-descr b/databases/rubygem-activerecord52/pkg-descr
index 86cdafa605bb..29c7987b2296 100644
--- a/databases/rubygem-activerecord52/pkg-descr
+++ b/databases/rubygem-activerecord52/pkg-descr
@@ -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