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
RailsSettings::SettingObject Load (0.4ms) SELECT "settings".* FROM "settings" WHERE "settings"."target_id" = $1 AND "settings"."target_type" = $2 [["target_id", 26], ["target_type", "Campaign"]]
↳ app/models/campaign.rb:120
[active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (1.61ms)
Completed 200 OK in 148ms (Views: 26.3ms | ActiveRecord: 22.3ms)
Doesn't matter if I try self.settings(:user_facing) or self.to_settings_hash[:user_facing] I'm still getting the same Null with hash thing. Any idea what might be the problem? Does it make sense that serializer is used even when not calling to_settings_hash?
The text was updated successfully, but these errors were encountered:
Doesn't matter if I try
self.settings(:user_facing)
orself.to_settings_hash[:user_facing]
I'm still getting the same Null with hash thing. Any idea what might be the problem? Does it make sense that serializer is used even when not calling to_settings_hash?The text was updated successfully, but these errors were encountered: