devel/rubygem-protected_attributes 1.1.4 FreeBSD
Protect attributes from mass assignment
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, rubygems
- Package size
- 13.4 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-protected_attributes | 1.1.4 |
| DragonFly | devel/rubygem-protected_attributes | 1.1.4 |
Install
Binary package:
pkg install rubygem-protected_attributes
From the ports tree:
cd /usr/ports/devel/rubygem-protected_attributes/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-protected_attributes>0:devel/rubygem-protected_attributes
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.4 | 1.1.4 | 1.1.4 | 1.1.4 | 1.1.4 |
| FreeBSD:14:quarterly | 1.1.4 | 1.1.4 | n/a | 1.1.4 | 1.1.4 |
| FreeBSD:15:latest | 1.1.4 | 1.1.4 | n/a | 1.1.4 | 1.1.4 |
| FreeBSD:15:quarterly | 1.1.4 | 1.1.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.4 | 1.1.4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
rubygem-activemodel4>=4.0.1<5.0: databases/rubygem-activemodel4
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 14
No port depends on this one.
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/protected_attributes-1.1.4.gem | 15360 | 597908250577a07e62a8c025cfc8ab0603858c531b089babc8724bceeace9ba2 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.