Displaying 1 result from an estimated 1 matches for "var1value1var2value2".
2006 Apr 05
1
Problem with paginate and conditions
...m the search form are inside a
(nested) hash called ''form'' so i tried to do something like this:
@form = params[:form]
and later in the view pass it in
link_to ''next'', {:page => ..., :form => @form}
but i get all parameters in the url one after another
(var1value1var2value2) and not like this: ?var1=value1&var2=value2.
Another thing: if i get a hash from params as controller only variable
form = params[:form]
i can do
form[:typ].keys
but if i get it into @form variable, and try
@form[:typ].keys
it throws error about nil object, where array is expected. What'...