theforeman/foreman — pull request #1481 by GregSutcliffe (2014-05-27 14:36:02+00:00)
Title: Fixes #5941 - Handle nil comparison object in DHCP::Record.valid?

As tested in IRC:

```
[15:00:35] wojtasfs: try applying this patch http://pastie.org/9223201
[15:00:42] then restart foreman and retry your script
[15:02:02] trying
[15:02:42] jupi! it's working, great thanks ;)
```