Timeline for How to understand nil vs. empty vs. blank in Ruby
Current License: CC BY-SA 2.5
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 20, 2014 at 23:17 | comment | added | Lonny Eachus | In Rails, any string containing just whitespace characters is "blank": " \n\r\t".blank? #=> true | |
| Jul 13, 2009 at 19:25 | history | answered | davemyron | CC BY-SA 2.5 |