# Override global `draft` class. For example, perhaps you want your own class at `app/models/draft.rb` that adds # extra attributes, validations, associations, etc. Be sure that this new model class extends `Draftsman::Draft`. # Draftsman.draft_class_name = 'Draftsman::Draft' # Serializer for `object`, `object_changes`, and `previous_draft` columns. To use the JSON serializer, change to # `Draftsman::Serializers::Json`. You could implement your own serializer if you really wanted to. See files in # `lib/draftsman/serializers`. # Draftsman.serializer = Draftsman::Serializers::Json # Field which records when a draft was created. # Draftsman.timestamp_field = :created_at