An ActiveRecord::PreparedStatementCacheExpired occurred in kiosks#pong
An ActiveRecord::PreparedStatementCacheExpired occurred in kiosks#pong:
ERROR: cached plan must not change result type
app/models/concerns/location_owner_checker.rb:4:in `check_location_owner'
-------------------------------
Request:
-------------------------------
* URL : https://www.internal.bikelink.org/kiosks/14/pong.json?email=trimet-park%40bikelink.org&password=D7tGQNen5iYmQQ9QsrlS
* HTTP Method: GET
* IP address : 127.0.0.1
* Parameters : {"controller"=>"kiosks", "action"=>"pong", "id"=>"14", "format"=>"json", "person"=>{"email"=>"trimet-park@bikelink.org", "password"=>"[FILTERED]"}, "kiosk_hack_email"=>nil}
* Timestamp : 2021-05-06 09:20:07 UTC
* Server : www-4.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 3031
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"42b552db0b4937bdabb43b82d55fcaab",
"password_session_token"=>"8f00be529dc5978167c73edb",
"warden.user.person.key"=>[[21306], "WVCYfuCAY-Una3CdVPmR"]}
-------------------------------
Backtrace:
-------------------------------
app/models/concerns/location_owner_checker.rb:4:in `check_location_owner'
app/controllers/kiosks_controller.rb:83:in `pong'
Znovu načíst