Oops typo :) I do that all the time, pluralizing class names ! It should read Entry.published !