Changeset [5dc78ae4e1f1ae675ba05a6726d5a7f134b7dfb9] by Piotr Solnica
June 1st, 2010 @ 04:49 PM
Flag#typecast should always return the value in an array, that
makes the
type's behaviour consistent when :default => :something is
specified.
[#1128 state:resolved] http://github.com/datamapper/dm-types/commit/5dc78ae4e1f1ae675ba05a...
Committed by Piotr Solnica
- M lib/dm-types/flag.rb
- M spec/fixtures/tshirt.rb
- M spec/integration/flag_spec.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »