{"version":"1.0","type":"rich","title":"Gist 8717191","description":"This example demonstrates a Rails server log and controller code handling a collection creation request. It shows a POST request to `/collections` that fails to save image URLs because the `images` parameter is not permitted, despite being listed in `collection_params`. The log reveals an ActiveRecord transaction that inserts only the collection name, followed by a redirect. The code uses the Rails `params.require` and `permit` API, while the model declares `attr_accessor :images`, indicating the parameter is accepted but not persisted. The visualization highlights the gap between the intended input and the actual database operation.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-8717191?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}