default_scope in rails 3

Posted by sfusion on Stack Overflow See other posts from Stack Overflow or by sfusion
Published on 2010-04-02T21:34:11Z Indexed on 2010/04/03 2:53 UTC
Read the original article Hit count: 309

I know named_scope has been changed to scope in rails 3.

How do I perform default_scope in rails 3, I've had a good google but found nothing for defaults scopes.

© Stack Overflow or respective owner

Related posts about scope

Related posts about ruby-on-rails