RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Using default_scope to recreate acts_as_paranoid in ActiveRecord 2.3

default_scope is a powerful new feature in Rails 2.3. In this tutorial you’ll learn how to use it to recreate the basic functionality of acts_as_paranoid. The final result is available in the is_paranoid gem.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in