I recently upgraded the Draper gem to 1.2.1. I was previously checking to see what fields were allowed via:
class MyDecorator < Draper::Decorator
allows :email
end
...spec...
MyDecorator.allowed.should == [:email]
Apparently "allows" is now delegates, what is "allowed"?