erd
erd copied to clipboard
assets prefix issue at Rails 4.2
About this PR
fix issue #16
Test
I confirm that this fix version work with my sample Rails application which is uploaded at My GitHub repository.
My Ruby/Rails environment
- OS
- Mac OS X 10.11.5
- Ruby
- 2.2.2
- Rails
- 4.2.0
Test result
Add assets path precompile at config/initializers/assets.rb as following
Rails.application.config.assets.precompile += %w( erd/* )
access http://localhost:3000/erd and show ER diagram as follows
