Skip to content

Protector and SimpleForm

Boris Staal edited this page Jul 13, 2013 · 1 revision

Protector and SimpleForm

Protector is compatible with SimpleForm right out of the box. There's however one feature of the latter that might act unpredictable: f.association. SimpleForm does a great job at dealing with associations but when used in conjunction with Protector, it will not protect the collection used unless you specify it by hand using the :collection option.

Use Protector::SimpleForm to ensure the best possible interaction between two gems.