RubyGems.org

This acts_as extension modifies ActiveRecord classes so they can carry a reference to the instance defined as current for the given request. The library is particularly useful for providing the authenticated user object to models.

installgem install acts_as_current
Authors

Coroutine, John Dugan

11,552 total downloads 5,711 for this version
Owners

03ef562730a6b8ea160e77120fbaff04Fd4d3c1316b766318558f31e6380cfc919dd6f2d3ce757e956fb0cb3d65ae3c7

Gemfile
gem 'acts_as_current', '~> 1.0.0'
Versions
  1. 1.0.0 October 10, 2010 (10 KB)
  2. 0.1.0 April 6, 2010 (9.5 KB)
Runtime Dependencies
  1. activerecord >= 0
Development Dependencies
  1. activesupport >= 0