Sha256: 19d9352996d6b71f200992be5a336d6f4741b962d388ca3d221bc3752a0f404d

Contents?: true

Size: 174 Bytes

Versions: 159

Compression:

Stored size: 174 Bytes

Contents

class Current < ActiveSupport::CurrentAttributes
  attribute :user, :request_id, :user_agent, :ip_address

  resets { Time.zone = nil }

  def user=(user)
    super
  end
end

Version data entries

159 entries across 159 versions & 1 rubygems

Version Path
cm-admin-4.4.8 lib/generators/cm_admin/templates/current.rb
cm-admin-4.4.6 lib/generators/cm_admin/templates/current.rb
cm-admin-4.4.1 lib/generators/cm_admin/templates/current.rb
cm-admin-4.4.0 lib/generators/cm_admin/templates/current.rb
cm-admin-4.3.0 lib/generators/cm_admin/templates/current.rb
cm-admin-4.2.1 lib/generators/cm_admin/templates/current.rb
cm-admin-4.2.0 lib/generators/cm_admin/templates/current.rb
cm-admin-4.1.2 lib/generators/cm_admin/templates/current.rb
cm-admin-4.1.1 lib/generators/cm_admin/templates/current.rb
cm-admin-4.1.0 lib/generators/cm_admin/templates/current.rb
cm-admin-4.0.0 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.16 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.15 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.14 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.13 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.12 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.11 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.10 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.9 lib/generators/cm_admin/templates/current.rb
cm-admin-3.0.8 lib/generators/cm_admin/templates/current.rb