BSD Ports

devel/rubygem-protected_attributes 1.1.4 DragonFly

Protect attributes from mass assignment

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, rubygems
Package size
12.1 KiB, 48.9 KiB installed

Description

Protect attributes from mass-assignment in Active Record models.

This plugin adds the class methods attr_accessible and attr_protected to your models to be able to declare white or black lists of attributes.

Note: This plugin will be officially supported until the release of Rails 5.0.

In the other systems

SystemPortVersion
DragonFlydevel/rubygem-protected_attributes1.1.4
FreeBSDdevel/rubygem-protected_attributes1.1.4

Install

Binary package:

pkg install rubygem-protected_attributes

From DPorts:

cd /usr/dports/devel/rubygem-protected_attributes && make install clean

Dependencies

Run dependencies 3

No port depends on this one.