Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure to always require extended core classes

both StringWithAttributes and StringIOFile need to be loaded to prevent
e.g. session problems like:

ActionDispatch::Session::SessionRestoreError
(Session contains objects whose class definition isn't available.)

Original exception: uninitialized constant Nori::StringWithAttributes
  • Loading branch information...
commit 9fa46a9dc833381626a921fc23e370e706e8a5e6 1 parent 48d2d91
Daniel Harrington rubiii authored
1  lib/nori.rb
View
@@ -1,6 +1,7 @@
require "nori/version"
require "nori/core_ext"
require "nori/parser"
+require "nori/xml_utility_node"
module Nori
extend self
1  lib/nori/parser/nokogiri.rb
View
@@ -1,5 +1,4 @@
require "nokogiri"
-require "nori/xml_utility_node"
module Nori
module Parser
1  lib/nori/parser/rexml.rb
View
@@ -1,5 +1,4 @@
require "rexml/parsers/baseparser"
-require "nori/xml_utility_node"
module Nori
module Parser
Please sign in to comment.
Something went wrong with that request. Please try again.