-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
Gem version: 4.19.0
Command: bundle exec annotaterb models
I had to anonymize the code (sorry).
Before:
# frozen_string_literal: true
module SomeModule
class Action < ApplicationRecord
# ...
end
endAfter bundle exec annotaterb models:
# frozen_string_literal: true
module SomeModule
# == Schema Information
#
# Table name: action
#
# created_at :datetime not null
# description :string(4000)
# updated_at :datetime not null
# name :string(50) not null
# action_id :integer not null, primary key
# create_user_id :integer not null
# last_update_user_id :integer not null
#
class Action < ApplicationRecord
# ...
end
endSettings:
---
:position: before
:position_in_additional_file_patterns: before
:position_in_class: before
:position_in_factory: before
:position_in_fixture: before
:position_in_routes: before
:position_in_serializer: before
:position_in_test: before
:classified_sort: true
:exclude_controllers: true
:exclude_factories: false
:exclude_fixtures: false
:exclude_helpers: true
:exclude_scaffolds: true
:exclude_serializers: false
:exclude_sti_subclasses: false
:exclude_tests: false
:force: false
:format_markdown: false
:format_rdoc: false
:format_yard: false
:frozen: false
:grouped_polymorphic: false
:ignore_model_sub_dir: false
:ignore_unknown_models: false
:include_version: false
:show_check_constraints: false
:show_complete_foreign_keys: false
:show_foreign_keys: true
:show_indexes: true
:show_indexes_include: false
:simple_indexes: false
:sort: false
:timestamp: false
:trace: true
:with_comment: true
:with_column_comments: true
:with_table_comments: true
:position_of_column_comment: :with_name
:active_admin: false
:command:
:debug: false
:hide_default_column_types: ''
:hide_limit_column_types: ''
:timestamp_columns:
- created_at
- updated_at
:ignore_columns:
:ignore_routes:
:models: true
:routes: false
:skip_on_db_migrate: false
:target_action: :do_annotations
:wrapper:
:wrapper_close:
:wrapper_open:
:classes_default_to_s: []
:additional_file_patterns: []
:model_dir:
- app/models
:require: []
:root_dir:
- ''sirwolfgang
Metadata
Metadata
Assignees
Labels
No labels