Displaying 1 result from an estimated 1 matches for "test_pattern_splits".
2007 Aug 09
0
TypeError: $_ value need to be String (nil given)
Hello all,
I am trying to run a unit test in a Rails project of mine (Rails
1.2.2, Ruby 1.8.4 (2005-12-24) [i486-linux]), and am running into the
following error:
1) Error:
test_pattern_splits(PatternSplitTest):
TypeError: $_ value need to be String (nil given)
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/active_record/
validations.rb:74:in `split''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.2/lib/active_record/
validations.rb:74:in `add_on_blank''
/...