magic_test icon indicating copy to clipboard operation
magic_test copied to clipboard

👋 NoMethodError: undefined method `jquery_already_included=' for MagicTest:Module

Open andrewculver opened this issue 4 years ago • 1 comments
trafficstars

We broke this (intentionally) in 0.0.5. You need to remove config/initializers/magic_test.rb from your project. Sorry for the inconvenience, but we need to be able to do stuff like this in the early days. 🙇🏻‍♂️ Keep an eye on the releases page for this sort of thing.

andrewculver avatar Mar 02 '21 19:03 andrewculver

If this is causing issues, we could put the method back with a deprecation notice:

module MagicTest
  class Error < StandardError; end

+  def jquery_already_included=(_)
+    warn "[DEPRECATION] `jquery_already_included` is deprecated and no longer needed.
+  end

  def self.setup
    yield self
  end
end

tleish avatar Mar 05 '21 15:03 tleish