#105 ✓invalid
Grant Rodgers

add scoped finders

Reported by Grant Rodgers | September 6th, 2007 @ 04:55 PM

It would be really cool if Ambition had scoped finders, ala scope_out, has_finder, and scoped_proxy

Combining nested scopes with kicker methods would do wonders I think:

Article.published.popular.first

select * from articles where (published = 1) AND (popular = 1) LIMIT 1

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Attachments

Tags

Pages