Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Issue 3110 wordcount #672
In the work model: post_first_chapter needs to happen before set_word_count, and changing the chapter's posted state needs to be saved.
In the chapter model: set_word_count was returning nil if the chapter wasn't a new_record or the content hadn't changed - needed because of the first change, or it moves the nil problem to the PwP workflow :)