databases/ruby-activerecord72 7.2.3.2 NetBSD
Object-relational mapper framework (part of Rails 7.2)
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
55e19a6d3c- License
- mit
- Categories
- databases, ruby
- Package size
- 1319.6 KiB, 5118.5 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 7.2.
Install
Binary package:
pkgin install ruby33-activerecord72
From pkgsrc:
cd /usr/pkgsrc/databases/ruby-activerecord72 && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 7.2.3.2 |
| NetBSD 10.1 aarch64 | 7.2.3.2 |
| SmartOS / illumos x86_64 | 7.2.4 |
| macOS 15 arm64 | 7.2.4 |
Dependencies
Run dependencies 3
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-activerecord72-7.2.3.2,ruby40-activerecord72-7.2.3.2