refactored to replace getBodyAttribute accessor with renderBody method in Post model