On Mon, Oct 19, 2009 at 1:57 PM, SNelson <stv.n...@gmail.com> wrote:

>> Uh, why not just create an appropriate controller method, something
>> like  'pending', and use that as the link, e.g. '/assignments/pending' ?

> I'll give that a try. I'm probably over-thinking things - was trying
> named_scopes and other new (to me) stuff - but probably basic is
> better here?

You could use a named_scope in your model --  I would -- and then
combine that with a custom route/controller method to invoke it.

That seems pretty minimalist :-)

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to