I just looked it up and it's a rails extension - not part of the ruby core.
but

```ruby
unless devparam[0].empty?
```

( http://ruby-doc.org/core-1.9.3/String.html#method-i-empty-3F )

would work.