-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels