databases/ruby-activerecord80 8.0.5.1 NetBSD
Object-relational mapper framework (part of Rails 8.0)
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
b9fb0ae2b2- License
- mit
- Categories
- databases, ruby
- Package size
- 1321.7 KiB, 5135.4 KiB installed
Description
Active Record -- Object-relational mapping in 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 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*.
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.
This is for Ruby on Rails 8.0.
Install
Binary package:
pkgin install ruby33-activerecord80
From pkgsrc:
cd /usr/pkgsrc/databases/ruby-activerecord80 && make install clean
Dependencies
Run dependencies 3
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-activerecord80-8.0.5.1,ruby40-activerecord80-8.0.5.1