null values in the arrray in taking by the postman or the rest client

 



sabse jyada jaroori hai ki tum search kya kiya 


pass null in array + rby


Link :: 

https://stackoverflow.com/questions/47092542/sending-array-of-nulls-in-json-request-rails-5/47094180


In application.rb add below line

config.action_dispatch.perform_deep_munge = false
Now the values of null is taking by the rails as input and it is showing the input and output to both the places.

For more info

https://apidock.com/rails/v3.2.8/ActionDispatch/Request/deep_munge

https://til.hashrocket.com/posts/e1bed09363-deepmunge-i-hardly-knew-ye





Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5