Comments (5)
Do you have polymorphic associations on your model? Could you post your Gemfile?
from rails-erd.
Yes, I do have polymorphic associations.
Gemfile:
...
gem 'rails', '~> 3.0.12'
gem 'mysql2', '< 0.3'
gem 'ice_cube'
gem 'chronic'
gem 'tickle'
gem 'business_time'
gem 'event-calendar', :require => 'event_calendar'
#Deploy with Capistrano
gem "capistrano"
gem 'rvm-capistrano'
gem 'sass'
gem 'haml-rails'
gem 'kaminari'
gem 'httparty'
#authentication
gem 'hpricot'
gem 'ruby_parser'
gem 'devise', '~> 1.5.0'
gem 'cancan'
gem 'rails-erd', '~> 1.0.0'
gem 'date_validator'
gem 'pdfkit'
#forms
gem 'formtastic', '>= 2.0.2'
gem 'awesome_nested_fields', '>= 0.6.0'
#attribute display in show page
gem "attrtastic"
#file uploader
gem 'rmagick'
gem 'carrierwave'
gem 'spreadsheet','> 0.6.3.1'
gem 'ruby-ole','1.2.10'
gem 'redis', "> 3.0.2"> 2.3"
gem "ruote", "
gem 'ruote-redis', :git => 'git://github.com/jmettraux/ruote-redis.git'
gem 'yajl-ruby', :require => 'yajl'
gem "ruote-kit", :git => 'git://github.com/kennethkalmer/ruote-kit.git'
#background job processing
gem "resque"
group :development, :test do
gem 'thin'
gem 'ruby-debug19', :require => 'ruby-debug'
gem 'rspec-rails', '2.9.0'
gem 'capybara'
gem 'launchy'
gem 'database_cleaner'
gem 'spork', '~>0.9.0.rc'
gem 'guard-livereload'
gem 'guard-rspec'
gem 'guard-spork'
gem 'awesome_print', :require => 'ap'
end
from rails-erd.
What are your polymorphic associations called?
from rails-erd.
Is this still a problem?
from rails-erd.
Going ahead and closing an issue that's >2 years old. :/
from rails-erd.
Related Issues (20)
- Tips to customise colours and rendering?
- Error when trying to run on Ubuntu HOT 3
- Polluting global scope with rake task helper method
- rails-red conflicts with discard gem HOT 1
- Add instructions for how to use rails-erd in a gem
- Bug with --only and -only_recursion_depth
- Rails 7 deprecation warnings HOT 1
- FrozenError: can't modify frozen String: "boolean" HOT 4
- Clarify how to customise output directory
- Warnings on Rails internal tables that have not been created HOT 2
- Spec failure on Graphviz fonts when running locally
- Disabling auto-generate on db:migrate HOT 2
- Changing output file path. HOT 3
- Use translations for models and attributes
- rails db:migrate
- compond foreign key to_sym on Array during rake db:migrate HOT 1
- Assertion failed: (filename && *filename), function try_dlopen, file ltdl.c, line 1204. HOT 1
- Can I customize the data instead of auto-generating it from my ActiveRecord relations?
- Enhancment: Mermaid style uses classDiagram, not erDiagram
- NoMethodError: undefined method `name' for nil:NilClass (seems to be related to PaperTrail)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails-erd.