We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699b1ef commit 09c9e5fCopy full SHA for 09c9e5f
app/serializers/forest_liana/serializer_factory.rb
@@ -118,7 +118,9 @@ def relationship_related_link(attribute_name)
118
119
if ret[:href].blank?
120
begin
121
- if @options[:include].try(:include?, attribute_name.to_s)
+ if @options[:include].try(:include?, attribute_name.to_s) &&
122
+ !SchemaHelper.is_smart_field?(object.class, attribute_name.to_s)
123
+
124
object.send(attribute_name)
125
end
126
0 commit comments