Displaying 3 results from an estimated 3 matches for "mark_term".
2006 Mar 11
4
Live search in Rails
...earch.rhtml:7: syntax error
./script/../config/../app/views/domain/search.rhtml:8: syntax error
:action => "show", :id => domain.id ).to_s); _erbout.concat "\n"
^
./script/../config/../app/views/domain/search.rhtml:12: syntax error
elsif @mark_term && @mark_term.length > 0 ; _erbout.concat "\n"
^
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Apr 24
4
Joined search returns NIL ids
...gt; [ "makes.name LIKE ?",
''%'' + @params[''search''] + ''%'' ],
:join => "JOIN makes on assets.make_id =
makes.id",
:per_page => 15
@mark_term = @params[''search'']
render :partial => ''results''
end
########################################
I am trying to search for assets having a make with a certain name (name
is a field in the makes table). The code works and brings back re...
2006 Mar 18
0
Live Search problems - HELP
...(title) LIKE
?'',
''%'' + @params[''search''].downcase + ''%'',
''%'' + @params[''search''].downcase + ''%''],
:order => "id desc")
@mark_term = @params[''search'']
render_without_layout
end
end
This might be way off, but I''m trying to follow examples and what I
*think* might work. I can''t get anything at all so far, though.
Can someone please help me out???
Thanks!
--
Posted via http:/...