search for: listing_typ

Displaying 2 results from an estimated 2 matches for "listing_typ".

Did you mean: listing_type
2005 Dec 21
0
Ferret and Rails transaction
...eate part for now and it''s very rough, but it works. def create if request.get? redirect_to :action => ''new'' else @user = User.find(session[:user_id]) @ad = Ad.new(params[:ad]) @listing = Listing.new(params[:listing]) @listing.listing_type = "ads" index ||= Index::Index.new(:key => [:id, :table], :path => "#{RAILS_ROOT}/db/index.test", :auto_flush => true) begin Listing.transaction(@ad) do @ad.l...
2007 Jul 02
8
Strange intermittent no search results problem
Hello, First the specs: ruby 1.8.6, rails 1.2.3, ferret 0.11.4, mongrel 1.0.1, mongrel_cluster 0.2.1 And the model''s aaf config: # Ferret search engine acts_as_ferret({:fields => {:name => {:boost => 10}, :summary => {:boost => 2}, :body => {:boost => 1, :store => :no},