search for: sale_typ

Displaying 3 results from an estimated 3 matches for "sale_typ".

Did you mean: sale_type
2006 Jul 29
0
SOAP for large datasets
...:item_type => items.item_type, :descript => items.descript, :amount => items.amount, :quan t => items.quant, :trans_id => items.trans_id, :trans_date => items.trans_date) end trans = [] for history in order.histories trans << TransactionData.new(:sale_type => history.sale_type, :order_id => order.order_id, :trans_id => history.trans_id, :outcome => history.outcome) end ar << CustomerData.new(:orderitem_data => oi, :transaction_data => trans, :address => order.address, :address2 => order.address2, :f_na me...
2006 Jul 14
3
Whitespace Issues
I am trying to build up a filtered search using the logic below. bq = Ferret::Search::BooleanQuery.new bq.add_query(Ferret::Search::TermQuery.new(Ferret::Index::Term.new("section",section.downcase!)), Ferret::Search::BooleanClause::Occur::MUST) filter = Ferret::Search::QueryFilter.new(bq) @vobjects = VoObject.find_by_contents(search_input,:filter => filter, :sort
2006 Jul 09
3
acts_as_ferret.. what does it actually do?
...? Thnaks in advance for any replies/help cheers caspar #####extract from model require ''ferret'' class VoObject < ActiveRecord::Base acts_as_ferret :fields=> [''short_description'',''section'',''sale_category'',''sale_type'',''outcode''] def VoObject.refine_search(search_input) bq = BooleanQuery.new bq.add_query(TermQuery.new(Term.new("section", search_input), BooleanClause::Occur::Should)) filter = QueryFilter.new(bq) @vobjects = Item.find_by_contents(search_text,...