On Wed, Apr 18, 2007 at 02:20:26PM +0200, Steven Garcia wrote:
> Thanks for this helper code, Jens. much appreciated. :-)
> 
> I just wish I could make it to the view in the first place. My search  
> controller method is calling up some strange errors.

your Search model doesn't define a 1-argument constructor (it defines no
constructor and therefore only has a 0-argument one).

try adding 
def initialize(query)
  @query = query
end
to your search model.

Jens

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to