Sha256: f0048f0aa72aa9c3b79abc810e38b5a98548e20f4e08b1fa4eb7e937807b1037
Contents?: true
Size: 246 Bytes
Versions: 3
Compression:
Stored size: 246 Bytes
Contents
require 'securerandom' class Gon module ControllerHelpers private # override this since ActionDispatch::Request#uuid appears only in Rails 3.2.1 def gon_request_uuid @gon_request_uuid ||= SecureRandom.uuid end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gon-6.4.0 | lib/gon/compatibility/old_rails.rb |
gon-6.3.2 | lib/gon/compatibility/old_rails.rb |
gon-6.3.1 | lib/gon/compatibility/old_rails.rb |