Use the #id reader instead of the nil @id variable
Merge pull request #90 from erran/fix-no-method-error-in-scan_template-delete

Use the #id reader instead of the nil @id variable