id_param now returns nil when the param is nil
Merge remote-tracking branch 'francocatena/master'

* francocatena/master:
  id_param now returns nil when the param is nil