avit / stockboy

A helpful gem to receive and unpack data into your organization from anywhere
MIT License
40 stars 7 forks source link

Attribute ignore option should work with a flat true/false #16

Closed avit closed 8 years ago

avit commented 8 years ago

This works with a proc or lambda since it's often used to compare values on the record:

attributes do
  email ignore: ->(r){ true }
end

It should be made to work with a straight ignore: true as well.