Closed djrobby closed 13 years ago
hi djrobby,
I think its a compatibility issue with slingshot 0.10, try downgrading slingshot to 0.8 for now, and I will get to it and set the versions straight in the Gemfile
I ran into this problem last week - downgrading to 0.8 was the answer
I get this error originating from
line 20 of search.rb
inslingshot
library. any ideas?Place.search "name: thai" NoMethodError: undefined method'
arity' for nil:NilClass @from /home/robby/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/whiny_nil.rb:48:in
method_missing' from /home/robby/.rvm/gems/ruby-1.9.2-p180/gems/slingshot-rb-0.0.10/lib/slingshot/search.rb:20:inquery' from /home/robby/.rvm/gems/ruby-1.9.2-p180/bundler/gems/mebla-412535653b59/lib/mebla/search.rb:107:in
query' from /home/robby/.rvm/gems/ruby-1.9.2-p180/bundler/gems/mebla-412535653b59/lib/mebla/search.rb:60:ininitialize' from /home/robby/.rvm/gems/ruby-1.9.2-p180/bundler/gems/mebla-412535653b59/lib/mebla.rb:115:in
new' from /home/robby/.rvm/gems/ruby-1.9.2-p180/bundler/gems/mebla-412535653b59/lib/mebla.rb:115:insearch' from /home/robby/.rvm/gems/ruby-1.9.2-p180/bundler/gems/mebla-412535653b59/lib/mebla/mongoid/mebla.rb:192:in
search' from (irb):2 from /home/robby/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands/console.rb:44:instart' from /home/robby/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands/console.rb:8:in
start' from /home/robby/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:23:in<top (required)>' from script/rails:6:in
require' from script/rails:6:in `