theforeman/foreman — pull request #380 by iNecas (2013-01-21 08:22:17+00:00)
Title: Make sure we're not merging nil in to_json

Options argument might be nil. Therefore it fails when trying to call
{}.merge(options) (for example when recording examples with apipie).