Your ActiveRecord models have nothing to do with the application controller, you can't define a named_scope on it either.
Named scopes can only be defined at ActiveRecord objects. - Maurício Linhares http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr On Sat, Jun 13, 2009 at 10:46 AM, Älphä Blüë<[email protected]> wrote: > > I also have a quick question on named_scopes. If all my models are > going to use the compiled_this_week named scope, would it be simpler to > put it in the application controller? > > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

