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
- ab_test(:payment_button, "/images/amazonpay.png", "/images/apple-pay.png") do |button_file|
= button_file
I am getting: ActionView::Template::Error (Unsupported command argument type: TrueClass)
I am using Memcache for datastore. So in my development.rb config file, I have config.cache_store = :mem_cache_store line. Even if I change it to use redis_cache_store nothing happens!
Here's my app info:
% rails about
About your application's environment
Rails version 7.0.0
Ruby version ruby 2.7.5p203 (2021-11-24 revision f69aeb8314) [arm64-darwin21]
RubyGems version 3.1.6
Rack version 2.2.3
JavaScript Runtime Node.js (V8)
Middleware Honeybadger::Rack::UserInformer, Honeybadger::Rack::UserFeedback, Honeybadger::Rack::ErrorNotifier, ActionDispatch::HostAuthorization, Rack::Sendfile, Rack::Cors, FontAssets::Middleware, ActionDispatch::Static, ActionDispatch::Executor, ActiveSupport::Cache::Strategy::LocalCache::Middleware, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, ActionDispatch::RemoteIp, Sprockets::Rails::QuietAssets, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::ActionableExceptions, ActionDispatch::Reloader, ActionDispatch::Callbacks, ActiveRecord::Migration::CheckPending, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ContentSecurityPolicy::Middleware, ActionDispatch::PermissionsPolicy::Middleware, Rack::Head, Rack::ConditionalGet, Rack::ETag, Rack::TempfileReaper, Warden::Manager, Rack::Deflater, Rack::Maintenance, Rack::Tracker, Apipie::Extractor::Recorder::Middleware, JQuery::FileUpload::Rails::Middleware, Apipie::StaticDispatcher, ActionDispatch::Static
Application root /Workspace/myApp
Environment development
Database adapter postgresql
Database schema version
Activity
rjaus commentedon Nov 22, 2022
I've just upgraded a rails 6.1 project to rails 7, and I am now getting this error.
split 4.0.1
andrehjr commentedon Nov 22, 2022
Hi, which redis and redis-rb version are you using?
Can you post the full stacktrace?
rjaus commentedon Nov 22, 2022
I remember now that I also updated sidekiq to v7, which uses redis-client. I also updated redis from v5 to 6.2.7
Redis server v=6.2.7 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=3813edd7c89460b6
rjaus commentedon Nov 22, 2022
I'm not sure if it's related, but here are the details on sidekiq & redis-client: https://github.com/mperham/sidekiq/blob/main/docs/7.0-Upgrade.md#redis-client
andrehjr commentedon Nov 22, 2022
I see!
Ok, so actually, this was fixed on #696. I need to release a new version with it
rjaus commentedon Nov 22, 2022
Ahhh awesome. Thanks! I'll use that.
testa19 commentedon Dec 2, 2022
Hi, please release)
puneetpandey commentedon Jul 17, 2023
It's no longer an issue with latest split version 4.0.2. So I am marking it closed.