You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NameError: uninitialized constant Mongoid::Spacial::Document::ClassMethods::Mongo
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/mongoid_spacial-0.2.13/lib/mongoid_spacial/spacial/document.rb:19:in spacial_index' from /home/eddie/projects/zooti/app/models/provisioning_manager_server.rb:20:inclass:ProvisioningManagerServer'
from /home/eddie/projects/zooti/app/models/provisioning_manager_server.rb:1:in <top (required)>' from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/zeus-0.13.3/lib/zeus/load_tracking.rb:50:inload'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/zeus-0.13.3/lib/zeus/load_tracking.rb:50:in load' from (irb):1 from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands/console.rb:90:instart'
from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands/console.rb:9:in start' from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:64:in<top (required)>'
from ./bin/rails:4:in require' from ./bin/rails:4:in
'
# my model
spacial_index :location # line 20
The text was updated successfully, but these errors were encountered:
# backtrace
NameError: uninitialized constant Mongoid::Spacial::Document::ClassMethods::Mongo
'from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/mongoid_spacial-0.2.13/lib/mongoid_spacial/spacial/document.rb:19:in
spacial_index' from /home/eddie/projects/zooti/app/models/provisioning_manager_server.rb:20:in
class:ProvisioningManagerServer'from /home/eddie/projects/zooti/app/models/provisioning_manager_server.rb:1:in
<top (required)>' from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/zeus-0.13.3/lib/zeus/load_tracking.rb:50:in
load'from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/zeus-0.13.3/lib/zeus/load_tracking.rb:50:in
load' from (irb):1 from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands/console.rb:90:in
start'from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands/console.rb:9:in
start' from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:64:in
<top (required)>'from ./bin/rails:4:in
require' from ./bin/rails:4:in
# my model
spacial_index :location # line 20
The text was updated successfully, but these errors were encountered: