Forum: Ruby on Rails acts_as_paranoid --> undefined method `constrain' for class

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
sam (Guest)
on 2005-11-15 21:58
(Received via mailing list)
Hi All,

So I thought I had this acts_as_paranoid problem previously and fixed by
going to rails 0.14.2, although I'm not 100% it was the same thing.

I'm now on rails 0.14.3 and I'm getting:

undefined method `constrain' for class `Class'

for any model that includes acts_as_paranoid. My application trace is

Has anyone else got this and know a way round it? Does anyone know what
the error actually means?

#{RAILS_ROOT}/app/controllers/records_controller.rb:19:in `list'

Many thanks in advance.

technoweenie (Guest)
on 2005-11-15 22:37
(Received via mailing list)
On 11/15/05, Sam J. <removed_email_address@domain.invalid> wrote:
> #{RAILS_ROOT}/app/controllers/records_controller.rb:19:in `list'
> Many thanks in advance.

RC4 totally changed the constrain method, so I had to rework some
things.  It has been fixed in subversion for some time
(  I've
been having some issues with my rubyforge uploader, so I just now
uploaded the updated gem.

This topic is locked and can not be replied to.