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-1.5.10 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.27 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.26 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.25 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.23 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.22 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.21 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.20 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.11 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.9 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.8 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.7 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.6 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.1 lib/generators/cm_admin/templates/current.rb
cm-admin-1.5.0 lib/generators/cm_admin/templates/current.rb
cm-admin-1.4.9 lib/generators/cm_admin/templates/current.rb
cm-admin-1.4.8 lib/generators/cm_admin/templates/current.rb
cm-admin-1.4.7 lib/generators/cm_admin/templates/current.rb
cm-admin-1.4.6 lib/generators/cm_admin/templates/current.rb
cm-admin-1.4.5 lib/generators/cm_admin/templates/current.rb