Sha256: f2d46980aaba3ebbef8f1ead4817540da08b58893fd8b0f8ebb127be2ffb3791

Contents?: true

Size: 412 Bytes

Versions: 3

Compression:

Stored size: 412 Bytes

Contents

= SixArm.com » Ruby » CurrentUser module with current_user methods

Author:: Joel Parker Henderson, joel@joelparkerhenderson.com
Copyright:: Copyright (c) 2005-2011 Joel Parker Henderson
License:: See LICENSE.txt file

Simple gem to get and set the current user,
using the related gem for current_user_id.

For speed, we memoize the current_user.

The current_user_find method also includes the user's roles.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sixarm_ruby_current_user-1.4.0 README.rdoc
sixarm_ruby_current_user-1.3.6 README.rdoc
sixarm_ruby_current_user-1.3.2 README.rdoc