Displaying 5 results from an estimated 5 matches for "subblu".
Did you mean:
subbu
2006 Sep 12
3
Querying against numeric fields? e.g. price:( >= min_price)
Using acts_as_ferret I''m trying to do a query like:
active:(true) title|body:(#{params[:s]}) product_price:( >=
#{params[:min]})
Where I want to return only the active products that contain the search
term in the title or body and has a minimum price >= params[:min]
I''m finding that even though I''m indexing the product price as an
integer (so no .00 to cause
2006 Jun 07
0
Disable sessions for search engine bots?
I would like to disable sessions for search engine bots that browse my
site.
Is it possible to set session :off in application.rb based on the result
of a method call that would check the request.user_agent for common
search bots?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 16
0
Double encoded ampersands in form actions
My form tag looks like:
<%= form_tag :controller => "admin", :action => ''update_preset'', :id =>
@preset, :popup => params[:popup], :editor => params[:editor] %>
which I want to be rendered something like:
<form action="/admin/documents/update_preset/?editor=1&popup=1"
method="post">
but instead I get double
2006 May 11
0
File upload works with webrick, but fails in lighttpd 1.4.11
I''ve been trying to add a basic file upload feature (just based on the
Rails Recipes example), but I find that it only works with the webrick
server and not my lighttpd 1.4.11 server.
I''m running Rails 1.1.2 on OSX. The upload silently fails with both
firefox and Safari, even with the useragent hack and with any size of
file/image. My lighttpd config is pretty standard as
2006 Mar 29
2
Migration fails when using certain table name
I''m trying to do this migration, but it fails when I try to create a
default content using Section.create I get an error saying ''unitialized
contant Section''
The weird thing is if I use a table name like ''categories'' with
Category.create instead of ''sections'' and Section.create then it all
works fine! I''m working from