Wednesday, December 10, 2008

Quote from acts_as_paranoid not found

We have been using the acts_as_paranoid plugin and our move to Rails 2.1 (eventually) woke us up to the need to update it.

In case anyone else should wonder why calling delete on their ActiveRecord model instance - which uses acts_as_paranoid - caused a NoMethodFound error on 'quote', it is because your PostGres (or possibly other) database adapter no longer has such a method - although it used to.

The latest version of the plugin fixes the problem.

No comments: