postrank-labs/goliath — pull request #129 by schmurfy (2012-01-08 11:37:43+00:00)
Title: param: remove default value for key

After doing some debug with the master branch on a goliath application I feel like testing for the presence of "id" when your options hash is empty or there is no key present is a really weird behavior (I got this when working on pull request #128 ).

```ruby
class SomeAPI < Goliath::API
use Goliath::Rack::Params
use Goliath::Rack::Validation::Param

end
```

If you write this code without my patch it will test if an "id" key is present, with my patch you get a proper insult as your deserve for writing this ^^