alphagov/govuk_content_models — pull request #5 by KushalP (2012-08-06 04:53:29+00:00)
Title: Move setup_default_parts into Parted module

There are common cases for Parted Editions where some default setup of parts is required.

Instead of handling this at the class level, let the Parted module hold the relevant code.

Also, use the new ActiveSupport callback style for before_create.