Open kerrizor opened 9 years ago
We can't get this feature to work, on any of three projects we tried it in. So maybe we need documentation before we can write documentation? :)
Also, does documentation for features like this go in the README or the Jekyll site?
There a couple of changes that need to be made before it works.
def self.loaded_tasks=(val); @loaded_tasks = val; end
def self.loaded_tasks; return @loaded_tasks; end
def self.load_tasks
return if(self.loaded_tasks)
self.loaded_tasks = true
Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake }
end
Note: See annotate for original implementation
erd:default
or change that line to bundle exec erd
Note: Configuring can now only be done via .erdconfig. Ideal way I suppose would be invoke CLI and allow config as part of template rake task
We've listed this issue within the 14th RubyIssues. https://rubyissues.ongoodbits.com/. :gem: We keep our fingers crossed!
Added by #148 the auto-generate feature will, when installed, generate a new ERD whenever
rake db:migrate
is invoked in development.