Casecommons/pg_search — Issue #26: Problems when running in rails 3.1.3
Author: miguelperez
Created: 2012-02-07 12:23:11+00:00
State: open

Hi, when I try to run the migration I get the following error:

└─╼ bundle exec rake pg_search:migration:multisearch --trace
rake aborted!
private method `warn' called for nil:NilClass
/Users/chopi/.rvm/gems/ruby-1.9.2-p136@project-x/gems/activerecord-3.1.3/lib/active_record/named_scope.rb:194:in `valid_scope_name?'
/Users/chopi/.rvm/gems/ruby-1.9.2-p136@project-x/gems/activerecord-3.1.3/lib/active_record/named_scope.rb:175:in `scope'
/Users/chopi/.rvm/gems/ruby-1.9.2-p136@project-x/gems/pg_search-0.4/lib/pg_search.rb:13:in `pg_search_scope'
/Users/chopi/.rvm/gems/ruby-1.9.2-p136@project-x/gems/pg_search-0.4/lib/pg_search/document.rb:11:in `'
/Users/chopi/.rvm/gems/ruby-1.9.2-p136@project-x/gems/pg_search-0.4/lib/pg_search/document.rb:4:in `'
/Users/chopi/.rvm/gems/ruby-1.9.2-p136@project-x/gems/pg_search-0.4/lib/pg_search/document.rb:3:in `'
/Users/chopi/.rvm/gems/ruby-1.9.2-p136@project-x/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
/Users/chopi/.rvm/gems/ruby-1.9.2-p136@project-x/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'

Any idea, regarding what could be the issue?