Add rails functionality for draft posts, no ember support