# Problem after upgrading to ferret 0.10.0

**URL:** <https://www.ruby-forum.com/t/problem-after-upgrading-to-ferret-0-10-0/66051>\
**Category:** Ferret\
**Created:** [August 23, 2006, 1:44am UTC](https://www.ruby-forum.com/t/problem-after-upgrading-to-ferret-0-10-0/66051 "2006-08-23T01:44:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caspar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e9bcb4/32.png) [@Caspar](https://www.ruby-forum.com/u/Caspar)\
**Post date:** [August 23, 2006, 1:44am UTC](https://www.ruby-forum.com/t/problem-after-upgrading-to-ferret-0-10-0/66051/1 "2006-08-23T01:44:37Z")

</div>

uninitialized constant BooleanClause

RAILS\_ROOT: /home/ghost/user/V\_O\_2/public/…/config/…

/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active\_support/dependencies.rb:123:in  
`const_missing' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:173:in`acts\_as\_ferret’  
#{RAILS\_ROOT}/app/models/vo\_object.rb:8  
#{RAILS\_ROOT}/app/controllers/search\_controller.rb:52:in `browse\_view’

This error occured while loading the following files:  
vo\_object.rb  
ferret/search/boolean\_clause.rb

require ‘RMagick’  
require ‘ferret’  
include Ferret

class VoObject \< ActiveRecord::Base

acts\_as\_ferret :fields=\>  
[‘short\_description’,‘section’,‘sale\_category’,‘sale\_type’,‘outcode’,‘bedrooms’,  
‘car\_make’,‘new\_or\_used’,‘salary’,‘age’,‘price\_range’,‘ferret\_date\_registered’,‘sponsored’]

```
 def VoObject.browse_results(section,sale_category,page,search_within)

bq = Ferret::Search::BooleanQuery.new
	search_input = '*'

	if section
		if !section.empty?
			qp = Ferret::QueryParser.new("section")
		query = qp.parse("\"#{section}\"")
			bq.add_query(query, Ferret::Search::BooleanClause::Occur::MUST)
			filter_on =true
		end
	end
```

---

<div class="post-metadata">

**Author:** ![Caspar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e9bcb4/32.png) [@Caspar](https://www.ruby-forum.com/u/Caspar)\
**Post date:** [August 23, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/problem-after-upgrading-to-ferret-0-10-0/66051/2 "2006-08-23T18:33:23Z")

</div>

Caspar wrote:

> uninitialized constant BooleanClause

0.10.0 is not compatible with 0.9.4, there are several differences that  
make acts\_as\_ferret break.
