new(const_error = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/session/abstract_store.rb, line 11
      def initialize(const_error = nil)
        if const_error
          ActiveSupport::Deprecation.warn("Passing #original_exception is deprecated and has no effect. "                                            "Exceptions will automatically capture the original exception.", caller)

        super("Session contains objects whose class definition isn't available.\n" +
          "Remember to require the classes for all objects kept in the session.\n" +
          "(Original exception: #{$!.message} [#{$!.class}])\n")
        set_backtrace $!.backtrace
Register or log in to add new notes.