On Mon, Oct 19, 2009 at 1:57 PM, SNelson <[email protected]> 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 ------------------------ [email protected] 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

