RubyGems.org

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.

installgem install strong_attributes
Authors

Ronald Chan

851 total downloads 576 for this version
Owners

3d3a40b43d638725a348384e70d86285

Licenses

MPLv2

Gemfile
gem 'strong_attributes', '~> 0.0.2'
Versions
  1. 0.0.2 November 4, 2013 (15 KB)
  2. 0.0.1 October 30, 2013 (15 KB)
Runtime Dependencies
  1. activesupport >= 3.0