Skip to content

Instantly share code, notes, and snippets.

@errakeshpd
Last active August 29, 2015 14:12
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 errakeshpd/236602e118d1803babd6 to your computer and use it in GitHub Desktop.
Save errakeshpd/236602e118d1803babd6 to your computer and use it in GitHub Desktop.
check csv column is nill.
Ruby on rails
--------------------------
This line is a record in the csv file.
4,3,"_ is my _, _d indians are_ _ .",Hint 4,10,1,0,3,"",India,Country,All,sad,,,
we want to check cols[8] is nil, i.e column before India.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment