Skip to content

Instantly share code, notes, and snippets.

@karlosmid
Created November 9, 2014 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karlosmid/62a067e374c23d01fd58 to your computer and use it in GitHub Desktop.
Save karlosmid/62a067e374c23d01fd58 to your computer and use it in GitHub Desktop.
Failure/Error: from_date = Date.strptime(row['RollingPeriodStart'].to_s.split(' ')[0],'%m/%d/%Y')
TypeError:
can't dup NilClass
# C:/IronRuby1.1/Lib/ruby/1.9.1/date/format.rb:575:in `dup'
# C:/IronRuby1.1/Lib/ruby/1.9.1/date/format.rb:575:in `_strptime'
# C:/IronRuby1.1/Lib/ruby/1.9.1/date.rb:1045:in `strptime'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment