Registry / other / activemodel

activemodel

JSON →
library8.1.3rbrubygemsunverified

A toolkit for building modeling frameworks like Active Record, with support for attributes, callbacks, validations, serialization, internationalization, and testing.

gem install activemodel
INSTALL
IMPORT
SIG · ACTIVEMODEL
A
activemodel
otherrubyv8.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActiveModel
require 'active_model'

Defines a model with Active Model validations.

require 'active_model' class Person include ActiveModel::Model attr_accessor :name end person = Person.new(name: 'Alice') puts person.valid?
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.1.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
32
OpenAI (training)
1
Resources