#115 ✓hold
Craig Paterson

before_persisting problem

Reported by Craig Paterson | June 2nd, 2009 @ 06:32 AM

I tried to add a timeout to my user session as it was in the documentation, but a get a method not found error. Tried including a couple of modules to see if that helped, to no avail. Happens in here:

module Timeout
  def self.included(klass)
    klass.class_eval do
      extend Config
      include InstanceMethods
      before_persisting :reset_stale_state
      after_persisting :enforce_timeout
      attr_accessor :stale_record

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket