RubyGems Navigation menu

strong_attributes 0.0.1

strong_attributes provides a strong_parameters-style permit interface using a wrapper around your model. By accessing model attributes in your views only through this interface, you ensure that any attributes displayed are explicitly permitted, and sensitive data is not displayed to unauthorized users. This keeps your views free of authorization logic.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.0.2 - November 04, 2013 (15 KB)
  2. 0.0.1 - October 30, 2013 (15 KB)

dependencias de Runtime (1):

activesupport >= 3.0

dependencias de Development (4):

bundler ~> 1.3
rake >= 0.9.2
rspec ~> 2.12
rspec-mocks >= 2.12.1

Propietarios:

Autores:

  • Ronald Chan

SHA 256 checksum:

ba15b012e96c227a1d992102c0e0634013ae95b4a2f037c2ab07afc35a98b4d3

Total de descargas 7.203

Para esta versión 2.448

Licencia:

MPLv2

Versión de Ruby requerida: Ninguno

Enlace: