Rails3: new route: queries