Skip default_scope when running migrations

Greg Christopher
Sat, 17 Oct 2009 19:24:22 -0000

Hi,

I was wondering if there is a way to skip the application of a
named_scope to calls made in legacy migrations.  I am working with some
old migrations that include some data manipulation tasks, and my default
scope is preventing those migrations from running.  I''m trying to avoid
editing those migration files with with_exclusive_scope.

Thanks,

-G
--
Posted via http://www.ruby-forum.com/.