Unparsable date string raises NoMethodError #106

Closed
cgriego opened this Issue Jul 10, 2012 · 0 comments

Projects

None yet

1 participant

@cgriego
Owner
cgriego commented Jul 10, 2012
 ActiveAttr::Typecasting::DateTypecaster.new.call("x")
NoMethodError: undefined method `div' for nil:NilClass
    from gems/activesupport-3.2.6/lib/active_support/core_ext/string/conversions.rb:51:in `new'
    from gems/activesupport-3.2.6/lib/active_support/core_ext/string/conversions.rb:51:in `to_date'
    from lib/active_attr/typecasting/date_typecaster.rb:26:in `call'
@cgriego cgriego closed this in 501ebd8 Jul 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment