Pajk/rails-restapi — pull request #9 by iNecas (2012-04-30 13:26:26+00:00)
Title: allow nil option

Lets parameter to be validated but still allowing it to be nil, e.g.

param :description, String, :allow_nil => true

allows sendning {"description": null} with the request