├── .gemtest ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .travis.yml ├── CHANGES.md ├── CODE_OF_CONDUCT.md ├── Gemfile ├── LICENSE.md ├── README.md ├── Rakefile ├── bin └── erd ├── examples ├── README ├── applications │ ├── event_forms │ │ ├── COPYRIGHT │ │ ├── models │ │ │ ├── event.rb │ │ │ ├── event_date.rb │ │ │ ├── form.rb │ │ │ ├── form_field_value.rb │ │ │ ├── form_fields.rb │ │ │ ├── group.rb │ │ │ ├── organization.rb │ │ │ ├── signup.rb │ │ │ └── stylesheet.rb │ │ └── schema.rb │ ├── gemcutter │ │ ├── MIT-LICENSE │ │ ├── models │ │ │ ├── dependency.rb │ │ │ ├── download.rb │ │ │ ├── linkset.rb │ │ │ ├── ownership.rb │ │ │ ├── rubygem.rb │ │ │ ├── subscription.rb │ │ │ ├── user.rb │ │ │ ├── version.rb │ │ │ └── web_hook.rb │ │ ├── options.rb │ │ └── schema.rb │ ├── refinery │ │ ├── LICENSE │ │ ├── lib │ │ │ └── has_friendly_id.rb │ │ ├── models │ │ │ ├── image.rb │ │ │ ├── inquiry.rb │ │ │ ├── inquiry_setting.rb │ │ │ ├── page.rb │ │ │ ├── page_part.rb │ │ │ ├── refinery_setting.rb │ │ │ ├── resource.rb │ │ │ ├── role.rb │ │ │ ├── slug.rb │ │ │ ├── user.rb │ │ │ └── user_plugin.rb │ │ ├── options.rb │ │ └── schema.rb │ ├── spree │ │ ├── LICENSE │ │ ├── lib │ │ │ └── delegate_belongs_to.rb │ │ ├── models │ │ │ ├── address.rb │ │ │ ├── adjustment.rb │ │ │ ├── app_configuration.rb │ │ │ ├── asset.rb │ │ │ ├── billing_integration.rb │ │ │ ├── calculator.rb │ │ │ ├── calculator │ │ │ │ ├── flat_percent_item_total.rb │ │ │ │ ├── flat_rate.rb │ │ │ │ ├── flexi_rate.rb │ │ │ │ ├── per_item.rb │ │ │ │ ├── price_bucket.rb │ │ │ │ ├── sales_tax.rb │ │ │ │ └── vat.rb │ │ │ ├── checkout.rb │ │ │ ├── configuration.rb │ │ │ ├── country.rb │ │ │ ├── creditcard.rb │ │ │ ├── gateway.rb │ │ │ ├── gateway │ │ │ │ ├── authorize_net.rb │ │ │ │ ├── authorize_net_cim.rb │ │ │ │ ├── beanstream.rb │ │ │ │ ├── bogus.rb │ │ │ │ ├── eway.rb │ │ │ │ ├── linkpoint.rb │ │ │ │ ├── pay_pal.rb │ │ │ │ └── sage_pay.rb │ │ │ ├── image.rb │ │ │ ├── inventory_unit.rb │ │ │ ├── line_item.rb │ │ │ ├── mail_method.rb │ │ │ ├── option_type.rb │ │ │ ├── option_value.rb │ │ │ ├── order.rb │ │ │ ├── payment.rb │ │ │ ├── payment_method.rb │ │ │ ├── payment_method │ │ │ │ └── check.rb │ │ │ ├── preference.rb │ │ │ ├── product.rb │ │ │ ├── product_group.rb │ │ │ ├── product_option_type.rb │ │ │ ├── product_property.rb │ │ │ ├── product_scope.rb │ │ │ ├── property.rb │ │ │ ├── prototype.rb │ │ │ ├── return_authorization.rb │ │ │ ├── role.rb │ │ │ ├── shipment.rb │ │ │ ├── shipping_category.rb │ │ │ ├── shipping_method.rb │ │ │ ├── state.rb │ │ │ ├── state_event.rb │ │ │ ├── tax_category.rb │ │ │ ├── tax_rate.rb │ │ │ ├── taxon.rb │ │ │ ├── taxonomy.rb │ │ │ ├── tracker.rb │ │ │ ├── user.rb │ │ │ ├── variant.rb │ │ │ ├── zone.rb │ │ │ └── zone_member.rb │ │ ├── options.rb │ │ └── schema.rb │ └── typo │ │ ├── MIT-LICENSE │ │ ├── models │ │ ├── article.rb │ │ ├── blog.rb │ │ ├── categorization.rb │ │ ├── category.rb │ │ ├── comment.rb │ │ ├── content.rb │ │ ├── feedback.rb │ │ ├── notification.rb │ │ ├── page.rb │ │ ├── ping.rb │ │ ├── profile.rb │ │ ├── redirect.rb │ │ ├── resource.rb │ │ ├── right.rb │ │ ├── sidebar.rb │ │ ├── tag.rb │ │ ├── text_filter.rb │ │ ├── trackback.rb │ │ ├── trigger.rb │ │ └── user.rb │ │ ├── options.rb │ │ └── schema.rb ├── associations │ ├── many-to-many-indirect │ │ ├── models │ │ │ ├── spell.rb │ │ │ ├── spell_mastery.rb │ │ │ └── wizard.rb │ │ ├── options.rb │ │ └── schema.rb │ ├── many-to-many │ │ ├── models │ │ │ ├── film.rb │ │ │ └── genre.rb │ │ ├── options.rb │ │ └── schema.rb │ ├── one-to-many │ │ ├── models │ │ │ ├── cannon.rb │ │ │ └── galleon.rb │ │ ├── options.rb │ │ └── schema.rb │ ├── one-to-one-recursive │ │ ├── models │ │ │ └── emperor.rb │ │ ├── options.rb │ │ └── schema.rb │ └── one-to-one │ │ ├── models │ │ ├── country.rb │ │ └── head_of_state.rb │ │ ├── options.rb │ │ └── schema.rb ├── domains │ ├── orchard-company-orchard │ │ ├── models │ │ │ ├── company.rb │ │ │ └── orchard.rb │ │ ├── options.rb │ │ └── schema.rb │ ├── orchard-orchard-stand │ │ ├── models │ │ │ ├── orchard.rb │ │ │ └── stand.rb │ │ ├── options.rb │ │ └── schema.rb │ └── orchard │ │ ├── models │ │ ├── company.rb │ │ ├── orchard.rb │ │ ├── picking_robot.rb │ │ ├── species.rb │ │ ├── stand.rb │ │ └── tree.rb │ │ ├── options.rb │ │ └── schema.rb ├── entities │ └── attributes │ │ ├── models │ │ └── photograph.rb │ │ ├── options.rb │ │ └── schema.rb ├── erdconfig.another_example ├── erdconfig.example ├── generate.rb ├── identity.rb ├── inheritance │ └── single-inheritance │ │ ├── models │ │ ├── beer.rb │ │ ├── beverage.rb │ │ └── whisky.rb │ │ ├── options.rb │ │ └── schema.rb ├── meta │ └── rails-erd │ │ ├── models │ │ ├── cardinality.rb │ │ ├── domain.rb │ │ ├── entity.rb │ │ ├── property.rb │ │ ├── relationship.rb │ │ └── specialization.rb │ │ ├── options.rb │ │ └── schema.rb ├── polymorphism │ └── polymorphic-belongs-to │ │ ├── models │ │ ├── barricade.rb │ │ ├── soldier.rb │ │ └── stronghold.rb │ │ ├── options.rb │ │ └── schema.rb └── sfdp.rb ├── gemfiles ├── Gemfile-rails.4.2.x ├── Gemfile-rails.5.0.x ├── Gemfile-rails.5.1.x ├── Gemfile-rails.5.2.x ├── Gemfile-rails.6.0.x ├── Gemfile-rails.6.1.x ├── Gemfile-rails.7.0.x └── Gemfile-rails.edge ├── lib ├── generators │ └── erd │ │ ├── USAGE │ │ ├── install_generator.rb │ │ └── templates │ │ └── auto_generate_diagram.rake ├── rails-erd.rb ├── rails_erd.rb ├── rails_erd │ ├── cli.rb │ ├── config.rb │ ├── diagram.rb │ ├── diagram │ │ ├── graphviz.rb │ │ ├── mermaid.rb │ │ └── templates │ │ │ ├── node.html.erb │ │ │ └── node.record.erb │ ├── domain.rb │ ├── domain │ │ ├── attribute.rb │ │ ├── entity.rb │ │ ├── relationship.rb │ │ ├── relationship │ │ │ └── cardinality.rb │ │ └── specialization.rb │ ├── railtie.rb │ ├── tasks.rake │ └── version.rb └── tasks │ └── auto_generate_diagram.rake ├── rails-erd.gemspec └── test ├── support_files ├── erdconfig.another_example ├── erdconfig.example └── erdconfig.exclude.example ├── test_helper.rb └── unit ├── attribute_test.rb ├── cardinality_test.rb ├── config_test.rb ├── diagram_test.rb ├── domain_test.rb ├── entity_test.rb ├── graphviz_test.rb ├── mermaid_test.rb ├── rake_task_test.rb ├── relationship_test.rb └── specialization_test.rb /.gemtest: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/CHANGES.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/erd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/bin/erd -------------------------------------------------------------------------------- /examples/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/README -------------------------------------------------------------------------------- /examples/applications/event_forms/COPYRIGHT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/COPYRIGHT -------------------------------------------------------------------------------- /examples/applications/event_forms/models/event.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/event.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/models/event_date.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/event_date.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/models/form.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/form.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/models/form_field_value.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/form_field_value.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/models/form_fields.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/form_fields.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/models/group.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/group.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/models/organization.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/organization.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/models/signup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/signup.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/models/stylesheet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/models/stylesheet.rb -------------------------------------------------------------------------------- /examples/applications/event_forms/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/event_forms/schema.rb -------------------------------------------------------------------------------- /examples/applications/gemcutter/MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/MIT-LICENSE -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/dependency.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/models/dependency.rb -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/download.rb: -------------------------------------------------------------------------------- 1 | class Download 2 | end 3 | -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/linkset.rb: -------------------------------------------------------------------------------- 1 | class Linkset < ActiveRecord::Base 2 | belongs_to :rubygem 3 | end 4 | -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/ownership.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/models/ownership.rb -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/rubygem.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/models/rubygem.rb -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/subscription.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/models/subscription.rb -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/models/user.rb -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/models/version.rb -------------------------------------------------------------------------------- /examples/applications/gemcutter/models/web_hook.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/models/web_hook.rb -------------------------------------------------------------------------------- /examples/applications/gemcutter/options.rb: -------------------------------------------------------------------------------- 1 | { :orientation => :vertical } 2 | -------------------------------------------------------------------------------- /examples/applications/gemcutter/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/gemcutter/schema.rb -------------------------------------------------------------------------------- /examples/applications/refinery/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/LICENSE -------------------------------------------------------------------------------- /examples/applications/refinery/lib/has_friendly_id.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/lib/has_friendly_id.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/image.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/image.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/inquiry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/inquiry.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/inquiry_setting.rb: -------------------------------------------------------------------------------- 1 | class InquirySetting < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/applications/refinery/models/page.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/page.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/page_part.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/page_part.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/refinery_setting.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/refinery_setting.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/resource.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/resource.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/role.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/role.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/slug.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/slug.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/models/user.rb -------------------------------------------------------------------------------- /examples/applications/refinery/models/user_plugin.rb: -------------------------------------------------------------------------------- 1 | class UserPlugin < ActiveRecord::Base 2 | belongs_to :user 3 | end 4 | -------------------------------------------------------------------------------- /examples/applications/refinery/options.rb: -------------------------------------------------------------------------------- 1 | { :disconnected => false, :orientation => :vertical } 2 | -------------------------------------------------------------------------------- /examples/applications/refinery/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/refinery/schema.rb -------------------------------------------------------------------------------- /examples/applications/spree/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/LICENSE -------------------------------------------------------------------------------- /examples/applications/spree/lib/delegate_belongs_to.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/lib/delegate_belongs_to.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/address.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/address.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/adjustment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/adjustment.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/app_configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/app_configuration.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/asset.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/asset.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/billing_integration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/billing_integration.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/calculator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/calculator.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/calculator/flat_percent_item_total.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/calculator/flat_percent_item_total.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/calculator/flat_rate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/calculator/flat_rate.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/calculator/flexi_rate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/calculator/flexi_rate.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/calculator/per_item.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/calculator/per_item.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/calculator/price_bucket.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/calculator/price_bucket.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/calculator/sales_tax.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/calculator/sales_tax.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/calculator/vat.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/calculator/vat.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/checkout.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/checkout.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/configuration.rb: -------------------------------------------------------------------------------- 1 | class Configuration < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/applications/spree/models/country.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/country.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/creditcard.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/creditcard.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway/authorize_net.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway/authorize_net.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway/authorize_net_cim.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway/authorize_net_cim.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway/beanstream.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway/beanstream.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway/bogus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway/bogus.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway/eway.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway/eway.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway/linkpoint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway/linkpoint.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway/pay_pal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway/pay_pal.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/gateway/sage_pay.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/gateway/sage_pay.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/image.rb: -------------------------------------------------------------------------------- 1 | class Image < Asset 2 | validate :no_attachement_errors 3 | end 4 | -------------------------------------------------------------------------------- /examples/applications/spree/models/inventory_unit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/inventory_unit.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/line_item.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/line_item.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/mail_method.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/mail_method.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/option_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/option_type.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/option_value.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/option_value.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/order.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/order.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/payment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/payment.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/payment_method.rb: -------------------------------------------------------------------------------- 1 | class PaymentMethod < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/applications/spree/models/payment_method/check.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/payment_method/check.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/preference.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/preference.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/product.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/product.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/product_group.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/product_group.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/product_option_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/product_option_type.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/product_property.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/product_property.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/product_scope.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/product_scope.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/property.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/property.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/prototype.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/prototype.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/return_authorization.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/return_authorization.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/role.rb: -------------------------------------------------------------------------------- 1 | class Role < ActiveRecord::Base 2 | has_and_belongs_to_many :users 3 | end 4 | -------------------------------------------------------------------------------- /examples/applications/spree/models/shipment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/shipment.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/shipping_category.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/shipping_category.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/shipping_method.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/shipping_method.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/state.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/state.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/state_event.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/state_event.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/tax_category.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/tax_category.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/tax_rate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/tax_rate.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/taxon.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/taxon.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/taxonomy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/taxonomy.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/tracker.rb: -------------------------------------------------------------------------------- 1 | class Tracker < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/applications/spree/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/user.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/variant.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/variant.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/zone.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/zone.rb -------------------------------------------------------------------------------- /examples/applications/spree/models/zone_member.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/models/zone_member.rb -------------------------------------------------------------------------------- /examples/applications/spree/options.rb: -------------------------------------------------------------------------------- 1 | { :attributes => false } 2 | -------------------------------------------------------------------------------- /examples/applications/spree/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/spree/schema.rb -------------------------------------------------------------------------------- /examples/applications/typo/MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/MIT-LICENSE -------------------------------------------------------------------------------- /examples/applications/typo/models/article.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/article.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/blog.rb: -------------------------------------------------------------------------------- 1 | class Blog < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/applications/typo/models/categorization.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/categorization.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/category.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/category.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/comment.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/content.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/content.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/feedback.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/feedback.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/notification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/notification.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/page.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/page.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/ping.rb: -------------------------------------------------------------------------------- 1 | class Ping < ActiveRecord::Base 2 | belongs_to :article 3 | end 4 | -------------------------------------------------------------------------------- /examples/applications/typo/models/profile.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/profile.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/redirect.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/redirect.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/resource.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/resource.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/right.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/right.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/sidebar.rb: -------------------------------------------------------------------------------- 1 | class Sidebar < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/applications/typo/models/tag.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/tag.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/text_filter.rb: -------------------------------------------------------------------------------- 1 | class TextFilter < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/applications/typo/models/trackback.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/trackback.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/trigger.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/trigger.rb -------------------------------------------------------------------------------- /examples/applications/typo/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/models/user.rb -------------------------------------------------------------------------------- /examples/applications/typo/options.rb: -------------------------------------------------------------------------------- 1 | { :disconnected => false, :inheritance => true } 2 | -------------------------------------------------------------------------------- /examples/applications/typo/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/applications/typo/schema.rb -------------------------------------------------------------------------------- /examples/associations/many-to-many-indirect/models/spell.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/many-to-many-indirect/models/spell.rb -------------------------------------------------------------------------------- /examples/associations/many-to-many-indirect/models/spell_mastery.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/many-to-many-indirect/models/spell_mastery.rb -------------------------------------------------------------------------------- /examples/associations/many-to-many-indirect/models/wizard.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/many-to-many-indirect/models/wizard.rb -------------------------------------------------------------------------------- /examples/associations/many-to-many-indirect/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false, :orientation => :vertical } 2 | -------------------------------------------------------------------------------- /examples/associations/many-to-many-indirect/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/many-to-many-indirect/schema.rb -------------------------------------------------------------------------------- /examples/associations/many-to-many/models/film.rb: -------------------------------------------------------------------------------- 1 | class Film < ActiveRecord::Base 2 | has_and_belongs_to_many :genres 3 | end 4 | -------------------------------------------------------------------------------- /examples/associations/many-to-many/models/genre.rb: -------------------------------------------------------------------------------- 1 | class Genre < ActiveRecord::Base 2 | has_and_belongs_to_many :films 3 | end 4 | -------------------------------------------------------------------------------- /examples/associations/many-to-many/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false, :orientation => :vertical } 2 | -------------------------------------------------------------------------------- /examples/associations/many-to-many/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/many-to-many/schema.rb -------------------------------------------------------------------------------- /examples/associations/one-to-many/models/cannon.rb: -------------------------------------------------------------------------------- 1 | class Cannon < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/associations/one-to-many/models/galleon.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/one-to-many/models/galleon.rb -------------------------------------------------------------------------------- /examples/associations/one-to-many/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false, :orientation => :vertical } 2 | -------------------------------------------------------------------------------- /examples/associations/one-to-many/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/one-to-many/schema.rb -------------------------------------------------------------------------------- /examples/associations/one-to-one-recursive/models/emperor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/one-to-one-recursive/models/emperor.rb -------------------------------------------------------------------------------- /examples/associations/one-to-one-recursive/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false } 2 | -------------------------------------------------------------------------------- /examples/associations/one-to-one-recursive/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/one-to-one-recursive/schema.rb -------------------------------------------------------------------------------- /examples/associations/one-to-one/models/country.rb: -------------------------------------------------------------------------------- 1 | class Country < ActiveRecord::Base 2 | has_one :head_of_state 3 | end 4 | -------------------------------------------------------------------------------- /examples/associations/one-to-one/models/head_of_state.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/one-to-one/models/head_of_state.rb -------------------------------------------------------------------------------- /examples/associations/one-to-one/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false, :orientation => :vertical } 2 | -------------------------------------------------------------------------------- /examples/associations/one-to-one/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/associations/one-to-one/schema.rb -------------------------------------------------------------------------------- /examples/domains/orchard-company-orchard/models/company.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard-company-orchard/models/company.rb -------------------------------------------------------------------------------- /examples/domains/orchard-company-orchard/models/orchard.rb: -------------------------------------------------------------------------------- 1 | class Orchard < ActiveRecord::Base 2 | belongs_to :company 3 | end 4 | -------------------------------------------------------------------------------- /examples/domains/orchard-company-orchard/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false } 2 | -------------------------------------------------------------------------------- /examples/domains/orchard-company-orchard/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard-company-orchard/schema.rb -------------------------------------------------------------------------------- /examples/domains/orchard-orchard-stand/models/orchard.rb: -------------------------------------------------------------------------------- 1 | class Orchard < ActiveRecord::Base 2 | has_one :stand 3 | end 4 | -------------------------------------------------------------------------------- /examples/domains/orchard-orchard-stand/models/stand.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard-orchard-stand/models/stand.rb -------------------------------------------------------------------------------- /examples/domains/orchard-orchard-stand/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false } 2 | -------------------------------------------------------------------------------- /examples/domains/orchard-orchard-stand/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard-orchard-stand/schema.rb -------------------------------------------------------------------------------- /examples/domains/orchard/models/company.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard/models/company.rb -------------------------------------------------------------------------------- /examples/domains/orchard/models/orchard.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard/models/orchard.rb -------------------------------------------------------------------------------- /examples/domains/orchard/models/picking_robot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard/models/picking_robot.rb -------------------------------------------------------------------------------- /examples/domains/orchard/models/species.rb: -------------------------------------------------------------------------------- 1 | class Species < ActiveRecord::Base 2 | has_many :trees 3 | end 4 | -------------------------------------------------------------------------------- /examples/domains/orchard/models/stand.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard/models/stand.rb -------------------------------------------------------------------------------- /examples/domains/orchard/models/tree.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard/models/tree.rb -------------------------------------------------------------------------------- /examples/domains/orchard/options.rb: -------------------------------------------------------------------------------- 1 | { :orientation => :vertical } 2 | -------------------------------------------------------------------------------- /examples/domains/orchard/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/domains/orchard/schema.rb -------------------------------------------------------------------------------- /examples/entities/attributes/models/photograph.rb: -------------------------------------------------------------------------------- 1 | class Photograph < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/entities/attributes/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false } 2 | -------------------------------------------------------------------------------- /examples/entities/attributes/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/entities/attributes/schema.rb -------------------------------------------------------------------------------- /examples/erdconfig.another_example: -------------------------------------------------------------------------------- 1 | attributes: 2 | - false 3 | 4 | -------------------------------------------------------------------------------- /examples/erdconfig.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/erdconfig.example -------------------------------------------------------------------------------- /examples/generate.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/generate.rb -------------------------------------------------------------------------------- /examples/identity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/identity.rb -------------------------------------------------------------------------------- /examples/inheritance/single-inheritance/models/beer.rb: -------------------------------------------------------------------------------- 1 | class Beer < Beverage 2 | end 3 | -------------------------------------------------------------------------------- /examples/inheritance/single-inheritance/models/beverage.rb: -------------------------------------------------------------------------------- 1 | class Beverage < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /examples/inheritance/single-inheritance/models/whisky.rb: -------------------------------------------------------------------------------- 1 | class Whisky < Beverage 2 | end 3 | -------------------------------------------------------------------------------- /examples/inheritance/single-inheritance/options.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/inheritance/single-inheritance/options.rb -------------------------------------------------------------------------------- /examples/inheritance/single-inheritance/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/inheritance/single-inheritance/schema.rb -------------------------------------------------------------------------------- /examples/meta/rails-erd/models/cardinality.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/meta/rails-erd/models/cardinality.rb -------------------------------------------------------------------------------- /examples/meta/rails-erd/models/domain.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/meta/rails-erd/models/domain.rb -------------------------------------------------------------------------------- /examples/meta/rails-erd/models/entity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/meta/rails-erd/models/entity.rb -------------------------------------------------------------------------------- /examples/meta/rails-erd/models/property.rb: -------------------------------------------------------------------------------- 1 | class Property < ActiveRecord::Base 2 | belongs_to :entity 3 | end 4 | -------------------------------------------------------------------------------- /examples/meta/rails-erd/models/relationship.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/meta/rails-erd/models/relationship.rb -------------------------------------------------------------------------------- /examples/meta/rails-erd/models/specialization.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/meta/rails-erd/models/specialization.rb -------------------------------------------------------------------------------- /examples/meta/rails-erd/options.rb: -------------------------------------------------------------------------------- 1 | { :title => "Rails ERD domain model", :orientation => :vertical } 2 | -------------------------------------------------------------------------------- /examples/meta/rails-erd/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/meta/rails-erd/schema.rb -------------------------------------------------------------------------------- /examples/polymorphism/polymorphic-belongs-to/models/barricade.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/polymorphism/polymorphic-belongs-to/models/barricade.rb -------------------------------------------------------------------------------- /examples/polymorphism/polymorphic-belongs-to/models/soldier.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/polymorphism/polymorphic-belongs-to/models/soldier.rb -------------------------------------------------------------------------------- /examples/polymorphism/polymorphic-belongs-to/models/stronghold.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/polymorphism/polymorphic-belongs-to/models/stronghold.rb -------------------------------------------------------------------------------- /examples/polymorphism/polymorphic-belongs-to/options.rb: -------------------------------------------------------------------------------- 1 | { :title => false, :polymorphism => true } 2 | -------------------------------------------------------------------------------- /examples/polymorphism/polymorphic-belongs-to/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/polymorphism/polymorphic-belongs-to/schema.rb -------------------------------------------------------------------------------- /examples/sfdp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/examples/sfdp.rb -------------------------------------------------------------------------------- /gemfiles/Gemfile-rails.4.2.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/gemfiles/Gemfile-rails.4.2.x -------------------------------------------------------------------------------- /gemfiles/Gemfile-rails.5.0.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/gemfiles/Gemfile-rails.5.0.x -------------------------------------------------------------------------------- /gemfiles/Gemfile-rails.5.1.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/gemfiles/Gemfile-rails.5.1.x -------------------------------------------------------------------------------- /gemfiles/Gemfile-rails.5.2.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/gemfiles/Gemfile-rails.5.2.x -------------------------------------------------------------------------------- /gemfiles/Gemfile-rails.6.0.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/gemfiles/Gemfile-rails.6.0.x -------------------------------------------------------------------------------- /gemfiles/Gemfile-rails.6.1.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/gemfiles/Gemfile-rails.6.1.x -------------------------------------------------------------------------------- /gemfiles/Gemfile-rails.7.0.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/gemfiles/Gemfile-rails.7.0.x -------------------------------------------------------------------------------- /gemfiles/Gemfile-rails.edge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/gemfiles/Gemfile-rails.edge -------------------------------------------------------------------------------- /lib/generators/erd/USAGE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/generators/erd/USAGE -------------------------------------------------------------------------------- /lib/generators/erd/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/generators/erd/install_generator.rb -------------------------------------------------------------------------------- /lib/generators/erd/templates/auto_generate_diagram.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/generators/erd/templates/auto_generate_diagram.rake -------------------------------------------------------------------------------- /lib/rails-erd.rb: -------------------------------------------------------------------------------- 1 | require "rails_erd" 2 | -------------------------------------------------------------------------------- /lib/rails_erd.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd.rb -------------------------------------------------------------------------------- /lib/rails_erd/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/cli.rb -------------------------------------------------------------------------------- /lib/rails_erd/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/config.rb -------------------------------------------------------------------------------- /lib/rails_erd/diagram.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/diagram.rb -------------------------------------------------------------------------------- /lib/rails_erd/diagram/graphviz.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/diagram/graphviz.rb -------------------------------------------------------------------------------- /lib/rails_erd/diagram/mermaid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/diagram/mermaid.rb -------------------------------------------------------------------------------- /lib/rails_erd/diagram/templates/node.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/diagram/templates/node.html.erb -------------------------------------------------------------------------------- /lib/rails_erd/diagram/templates/node.record.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/diagram/templates/node.record.erb -------------------------------------------------------------------------------- /lib/rails_erd/domain.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/domain.rb -------------------------------------------------------------------------------- /lib/rails_erd/domain/attribute.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/domain/attribute.rb -------------------------------------------------------------------------------- /lib/rails_erd/domain/entity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/domain/entity.rb -------------------------------------------------------------------------------- /lib/rails_erd/domain/relationship.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/domain/relationship.rb -------------------------------------------------------------------------------- /lib/rails_erd/domain/relationship/cardinality.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/domain/relationship/cardinality.rb -------------------------------------------------------------------------------- /lib/rails_erd/domain/specialization.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/domain/specialization.rb -------------------------------------------------------------------------------- /lib/rails_erd/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/railtie.rb -------------------------------------------------------------------------------- /lib/rails_erd/tasks.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/tasks.rake -------------------------------------------------------------------------------- /lib/rails_erd/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/rails_erd/version.rb -------------------------------------------------------------------------------- /lib/tasks/auto_generate_diagram.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/lib/tasks/auto_generate_diagram.rake -------------------------------------------------------------------------------- /rails-erd.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/rails-erd.gemspec -------------------------------------------------------------------------------- /test/support_files/erdconfig.another_example: -------------------------------------------------------------------------------- 1 | attributes: 2 | - primary_key 3 | 4 | -------------------------------------------------------------------------------- /test/support_files/erdconfig.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/support_files/erdconfig.example -------------------------------------------------------------------------------- /test/support_files/erdconfig.exclude.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/support_files/erdconfig.exclude.example -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/unit/attribute_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/attribute_test.rb -------------------------------------------------------------------------------- /test/unit/cardinality_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/cardinality_test.rb -------------------------------------------------------------------------------- /test/unit/config_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/config_test.rb -------------------------------------------------------------------------------- /test/unit/diagram_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/diagram_test.rb -------------------------------------------------------------------------------- /test/unit/domain_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/domain_test.rb -------------------------------------------------------------------------------- /test/unit/entity_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/entity_test.rb -------------------------------------------------------------------------------- /test/unit/graphviz_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/graphviz_test.rb -------------------------------------------------------------------------------- /test/unit/mermaid_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/mermaid_test.rb -------------------------------------------------------------------------------- /test/unit/rake_task_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/rake_task_test.rb -------------------------------------------------------------------------------- /test/unit/relationship_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/relationship_test.rb -------------------------------------------------------------------------------- /test/unit/specialization_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/voormedia/rails-erd/HEAD/test/unit/specialization_test.rb --------------------------------------------------------------------------------