Added attr_accessible to Posts model

I've added the attributes that need to be accessible to avoid a mass assignment error when creating a new post. Is there another way you prefer to handle this, or have the models just not been updated since the Rails 3.2.3 whitelist_attributes change?