lib/rails-footnotes.rb in artofmission-rails-footnotes-3.6.0.1 vs lib/rails-footnotes.rb in artofmission-rails-footnotes-3.6.2

- old
+ new

@@ -4,10 +4,10 @@ require File.join(dir, 'rails-footnotes', 'backtracer') # Load all notes # Dir[File.join(dir, 'rails-footnotes', 'notes', '*.rb')].each do |note| - require note + require note unless note =~ /queries/ && !defined?(ActiveRecord) end # The footnotes are applied by default to all actions. You can change this # behavior commenting the after_filter line below and putting it in Your # application. Then you can cherrypick in which actions it will appear. \ No newline at end of file