{"version":"1.0","type":"rich","title":"Gist 4469718","description":"This example shows a Rails controller action that loads a user by ID and immediately calls `set_view_profile` to mark the profile as viewed without updating the view count. The code then makes related user associations—`tools` and `other_relaions`—available to the view template. It relies on ActiveRecord’s `find` method and a custom model method, with no visualization library or rendering logic present. The data source is the Rails model layer, and the snippet only demonstrates backend data preparation, not any graphical output.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-4469718?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}