bin/annotate in annotate-sequel-1.0.0.pre3 vs bin/annotate in annotate-sequel-1.0.0
- old
+ new
@@ -9,12 +9,12 @@
end
here = File.expand_path(File.dirname __FILE__)
$:<< "#{here}/../lib"
+require File.expand_path('config/environment')
target = {
:klass => AnnotateSequel::Model,
:task => :do_annotations,
}
-Annotate.eager_load(options)
target[:klass].send(target[:task])