Skip to content

Instantly share code, notes, and snippets.

@cyrill62
cyrill62 / reform_whitelist.rb
Last active September 19, 2015 08:34
decent_exposure + reform attributes protection fail.
class Model < ActiveRecord::Base
end
class ModelForm
property :a
property :b
end
model = Model.new