I use ActiveScaffold in my project. I posted, perhaps stupidly, a question on AS help forum on whether it supports named_scope and no one replies for days now. I also could hardly find named_scope discussion on that forum.
Hassan Schroeder wrote: > On Sun, Jul 26, 2009 at 7:02 PM, kevin > lee<[email protected]> wrote: >> >> I tweaked the sample code for my model and called MyModel.NameofScope >> (i.e. Event.upcoming) in the model. �To my surprise, it has no effect. >> I also tried one or two other conditions. �I looked at the log and there >> is nothing related to named_scope. �I use fixtures to load data into the >> database (SQLite3) but I don't think it matters. �My Rails version is >> 2.1 �So how do I go about troubleshooting this problem? �Any advice? > > If your tests pass, perhaps they're not doing what you think they are > :-) > > -- > Hassan Schroeder ------------------------ [email protected] > twitter: @hassan -- 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 -~----------~----~----~----~------~----~------~--~---

