Sha256: 68d590bcfc26f62ec7f7dbd3d64e3f8a753c838f713c7c777317c86ea74b21b2
Contents?: true
Size: 488 Bytes
Versions: 20
Compression:
Stored size: 488 Bytes
Contents
# Make Praxis' request derive from ActionDispatch if defined? Praxis::Request puts "IT seems that we're trying to redefine Praxis' request parent too late." puts "-> try to include the Rails compat pieces earlier in the bootstrap process (before Praxis::Request is requried)" exit(-1) end begin require 'praxis/request_superclassing' module Praxis require 'action_dispatch' Praxis.request_superclass = ::ActionDispatch::Request end require 'praxis/request' end
Version data entries
20 entries across 20 versions & 1 rubygems