views:

1050

answers:

1

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.

+4  A: 

default_scope is available in Rails 3.0, see the following

Patrick Klingemann
thanks, that's perfect :)
sfusion