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
Hi, I'm look into how to get activerecord query cache working otr.
After adding this to my config.ru:
useActiveRecord::QueryCache
On starting my server I now see this error :
/Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:86:in `initialize': wrong number of arguments (given 1, expected 0) (ArgumentError) from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:86:in `new' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:86:in `block in use' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:147:in `block in to_app'
from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:147:in `each' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:147:in `inject' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:147:in `to_app' from /Users/jamestindall/Documents/doc_baton/BatonSite/dist/config.ru:32:in `<main>'
from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/server.rb:208:in `app' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/server.rb:272:in `start' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/lib/rack/server.rb:147:in `start'
from /Users/jamestindall/.rvm/gems/ruby-2.3.1/gems/rack-1.6.4/bin/rackup:4:in `<top (required)>' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/bin/rackup:22:in `load' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/bin/rackup:22:in `<main>' from /Users/jamestindall/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/jamestindall/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
Any ideas? Have you had activerecord query cache working otr?
The text was updated successfully, but these errors were encountered:
Hi, I'm look into how to get activerecord query cache working otr.
After adding this to my
config.ru
:On starting my server I now see this error :
Any ideas? Have you had activerecord query cache working otr?
The text was updated successfully, but these errors were encountered: