With most models, almost always I find myself writing Search/Find actions. When I view a Listing of a model, I want to look at another record or set of records. How nice it would be if I can do a query-by-example while viewing a Listing, or during Show/Edit/Create. Would be nice if Search becomes another act in the scaffolding magic. This wish has been expressed here before. Since then, has there been progress to grant the wish? Ah, the convenience of riding first-class on a rails trip! gk -- Posted via http://www.ruby-forum.com/.
On 8/11/06, Gene Kahn <kublaikhan55@hotmail.com> wrote:> With most models, almost always I find myself writing Search/Find > actions. When I view a Listing of a model, I want to look at another > record or set of records. How nice it would be if I can do a > query-by-example while viewing a Listing, or during Show/Edit/Create. > Would be nice if Search becomes another act in the scaffolding magic. > > This wish has been expressed here before. Since then, has there been > progress to grant the wish?The Scaffolding Extensions Plugin [1] implements a generic search feature. The hosting server is currently being moved, but I can email the tar.gz file containing the plugin if you need it. [1] http://wiki.rubyonrails.org/rails/pages/Scaffolding+Extensions+Plugin
Gene Kahn wrote:> With most models, almost always I find myself writing Search/Find > actions. When I view a Listing of a model, I want to look at another > record or set of records. How nice it would be if I can do a > query-by-example while viewing a Listing, or during Show/Edit/Create. > Would be nice if Search becomes another act in the scaffolding magic. > > This wish has been expressed here before. Since then, has there been > progress to grant the wish? > > Ah, the convenience of riding first-class on a rails trip! > > gkSearch is simply a retrieve with parameters. -- Posted via http://www.ruby-forum.com/.