These are chat archives for rails-sqlserver/activerecord-sqlserver-adapter

18th
Jul 2017
gerome0123
@gerome0123
Jul 18 2017 06:14
need help in solr
rake sunspot:reindex
rake aborted!
NameError: undefined local variable or method has_paper_trail' for Caes::Account:Class /Users/macbook/Desktop/revampCAES/core/app/models/caes/account.rb:3:in<class:Account>'
/Users/macbook/Desktop/revampCAES/core/app/models/caes/account.rb:2:in <module:Caes>' /Users/macbook/Desktop/revampCAES/core/app/models/caes/account.rb:1:in<top (required)>'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:477:in load' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:477:inblock in load_file'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:662:in new_constants_in' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:476:inload_file'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:375:in block in require_or_load' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:37:inblock in load_interlock'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies/interlock.rb:12:in block in loading' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/concurrency/share_lock.rb:150:inexclusive'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies/interlock.rb:11:in loading' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:37:inload_interlock'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:358:in require_or_load' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:336:independ_on'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/activesupport-5.0.4/lib/active_support/dependencies.rb:252:in require_dependency' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:476:inblock (2 levels) in eager_load!'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:475:in each' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:475:inblock in eager_load!'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:473:in each' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/railties-5.0.4/lib/rails/engine.rb:473:ineager_load!'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/sunspot_rails-2.2.7/lib/sunspot/rails/tasks.rb:34:in block (4 levels) in <top (required)>' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/sunspot_rails-2.2.7/lib/sunspot/rails/tasks.rb:34:ineach'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/sunspot_rails-2.2.7/lib/sunspot/rails/tasks.rb:34:in block (3 levels) in <top (required)>' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/sunspot_rails-2.2.7/lib/sunspot/rails/tasks.rb:71:inwith_session'
/Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/sunspot_rails-2.2.7/lib/sunspot/rails/tasks.rb:19:in block (2 levels) in <top (required)>' /Users/macbook/Desktop/revampCAES/vendor/cache/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in<top (required)>'
/Users/macbook/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in eval' /Users/macbook/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in<main>'
Tasks: TOP => sunspot:reindex
(See full trace by running task with --trace)
Macbooks-MacBook-Pro:revampCAES tsd$
Ken Collins
@metaskills
Jul 18 2017 11:05
This is a forum for SQL Server & Rails.