Project.find(:all) : missing "custom_fields" branch for projects in response

Added by Marek Czyżewski 4 months ago

When I create a separate Ruby project outside Redmine and enter the instructions:

response = Project.find(:all)
puts response.to_json

the JSON structure contains "custom_fields" branch for every projects for which I created CF, but when I put the same code in the Redmine plugin,
the branch "custom_fields" is missing. Why?