You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NoMethodError: private method `gsub' called for nil:NilClass
cleanup at /install/path/gems/chronic_duration-0.10.6/lib/chronic_duration.rb:183
parse at /install/path/gems/chronic_duration-0.10.6/lib/chronic_duration.rb:42
<top> at chronic_test.rb:3
The text was updated successfully, but these errors were encountered:
The whole point is to take arbitrary user input and do with it what you can. If the user gives invalid input, you don't want the app to fall over. Raising NoMethodError for any input is a bug.
Running this:
results in
The text was updated successfully, but these errors were encountered: