./databases/ruby-activerecord60, Object-relational mapper framework (part of Rails 6.0)

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


Branch: CURRENT, Version: 6.0.3.2, Package name: ruby26-activerecord60-6.0.3.2, Maintainer: pkgsrc-users

= Active Record -- Object-relational mapping put on rails

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 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*.

This is for Ruby on Rails 6.0.


Required to run:
[lang/ruby26-base] [devel/ruby-activesupport60] [devel/ruby-activemodel60]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a933167ad597b0f5679ffa400309bf697d53de72
RMD160: 69015eccbf9154cb937c6926db30d82f104a81fd
Filesize: 398 KB

Version history: (Expand)


CVS history: (Expand)


   2020-06-18 15:38:47 by Takahiro Kambe | Files touched by this commit (14) | Package updated
Log message:
lang/rails60: update to 6.0.3.2

Update Ruby on Rails to 6.0.3.2.

www/ruby-actionpack60 is the really updated package and other packages
have no change except version.

CHANGELOG of www/ruby-actionpack60 is here:

## Rails 6.0.3.2 (June 17, 2020) ##

* [CVE-2020-8185] Only allow ActionableErrors if
  show_detailed_exceptions is enabled
   2020-05-21 18:04:24 by Takahiro Kambe | Files touched by this commit (25)
Log message:
Remove RUBY_VERSIONS_INCOMPATIBLE for ruby24.
   2020-05-19 19:13:24 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
databases/ruby-activerecord60: update to 6.0.3.1

Update ruby-activerecord60 to 6.0.3.1.

## Rails 6.0.3.1 (May 18, 2020) ##

*   No changes.
   2020-05-16 16:18:56 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
databases/ruby-activerecord60: update to 6.0.3

Update ruby-activerecord60 to 6.0.3.

## Rails 6.0.3 (May 06, 2020) ##

*   Recommend applications don't use the `database` kwarg in `connected_to`

    The database kwarg in `connected_to` was meant to be used for one-off \ 
scripts but is often used in requests. This is really dangerous because it \ 
re-establishes a connection every time. It's deprecated in 6.1 and will be \ 
removed in 6.2 without replacement. This change soft deprecates it in 6.0 by \ 
removing documentation.

    *Eileen M. Uchitelle*

*   Fix support for PostgreSQL 11+ partitioned indexes.

    *Sebastián Palma*

*   Add support for beginless ranges, introduced in Ruby 2.7.

    *Josh Goodall*

*   Fix insert_all with enum values

    Fixes #38716.

    *Joel Blum*

*   Regexp-escape table name for MS SQL

    Add `Regexp.escape` to one method in ActiveRecord, so that table names with \ 
regular expression characters in them work as expected. Since MS SQL Server uses \ 
"[" and "]" to quote table and column names, and those \ 
characters are regular expression characters, methods like `pluck` and `select` \ 
fail in certain cases when used with the MS SQL Server adapter.

    *Larry Reid*

*   Store advisory locks on their own named connection.

    Previously advisory locks were taken out against a connection when a \ 
migration started. This works fine in single database applications but doesn't \ 
work well when migrations need to open new connections which results in the lock \ 
getting dropped.

    In order to fix this we are storing the advisory lock on a new connection \ 
with the connection specification name `AdisoryLockBase`. The caveat is that we \ 
need to maintain at least 2 connections to a database while migrations are \ 
running in order to do this.

    *Eileen M. Uchitelle*, *John Crepezzi*

*   Ensure `:reading` connections always raise if a write is attempted.

    Now Rails will raise an `ActiveRecord::ReadOnlyError` if any connection on \ 
the reading handler attempts to make a write. If your reading role needs to \ 
write you should name the role something other than `:reading`.

    *Eileen M. Uchitelle*

*   Enforce fresh ETag header after a collection's contents change by adding
    ActiveRecord::Relation#cache_key_with_version. This method will be used by
    ActionController::ConditionalGet to ensure that when collection cache versioning
    is enabled, requests using ConditionalGet don't return the same ETag header
    after a collection is modified. Fixes #38078.

    *Aaron Lipman*

*   A database URL can now contain a querystring value that contains an equal \ 
sign. This is needed to support passing PostgresSQL `options`.

     *Joshua Flanagan*

*   Retain explicit selections on the base model after applying `includes` and \ 
`joins`.

    Resolves #34889.

    *Patrick Rebsch*
   2020-03-22 00:51:41 by Joerg Sonnenberger | Files touched by this commit (12)
Log message:
Restrict some more rails packages to Ruby 2.5+
   2020-03-20 17:55:38 by Takahiro Kambe | Files touched by this commit (4)
Log message:
databases/ruby-activerecord60: add package version 6.0.2.2

Add ruby-activerecord60 package version 6.0.2.2.

= Active Record -- Object-relational mapping put on rails

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 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*.

This is for Ruby on Rails 6.0.