erd icon indicating copy to clipboard operation
erd copied to clipboard

assets prefix issue at Rails 4.2

Open h5y1m141 opened this issue 9 years ago • 0 comments

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

2016-05-27 8 20 42

h5y1m141 avatar May 26 '16 23:05 h5y1m141