Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> ruby >> ruby-protected-attributes
etiona  ]
[ 原始碼: ruby-protected-attributes  ]

套件: ruby-protected-attributes (1.1.3-2)

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, avoiding attacks by parameter injection against Rails applications.

其他與 ruby-protected-attributes 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    或者 ruby-interpreter
    套件暫時不可用
  • dep: ruby-activemodel (<< 2:5.0)
    toolkit for building modeling frameworks (part of Rails)
    dep: ruby-activemodel (>= 2:4.0.1)

下載 ruby-protected-attributes

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 13.4 kB79 kB [文件列表]