Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> ruby >> ruby-protected-attributes
etiona  ]

Balík: 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.

Ostatné balíky súvisiace s balíkom ruby-protected-attributes

  • závisí
  • odporúča
  • navrhuje
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    alebo ruby-interpreter
    Balík nie je dostupný
  • dep: ruby-activemodel (<< 2:5.0)
    toolkit for building modeling frameworks (part of Rails)
    dep: ruby-activemodel (>= 2:4.0.1)

Stiahnuť ruby-protected-attributes

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 13.4 kB79 kB [zoznam súborov]