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
@MaksJS - I've merged that fix into main - could you check if it resolves this for you? 🙏
MaksJS
changed the title
undefined method `map' for nil when config.active_record.cache_query_log_tags = true
undefined method `map' for nil when config.active_record.query_log_tags_enabled = true
Jan 4, 2024
MaksJS
changed the title
undefined method `map' for nil when config.active_record.query_log_tags_enabled = true
Undefined method map for nil when config.active_record.query_log_tags_enabled is true
Jan 4, 2024
On Rails 7.1, when setting
config.active_record.query_log_tags_enabled
to true, I get this error:undefined method
map' for nil`in
[activerecord (7.1.2) lib/active_record/connection_adapters/abstract/quoting.rb:235:in
type_casted_binds']`We always go into this line:
and
binds
arenil
becauseconnection.prepare_statements?
is false, due to https://github.com/rails/rails/blob/581074c40d0989ff1d981086043b40dc8daa4888/activerecord/lib/active_record/railtie.rb#L422The text was updated successfully, but these errors were encountered: